diff --git a/.github/workflows/release_canary.yml b/.github/workflows/release_canary.yml index bea5e583..a160bf09 100644 --- a/.github/workflows/release_canary.yml +++ b/.github/workflows/release_canary.yml @@ -46,11 +46,11 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Output canary version number - uses: actions/github-script@v4.0.2 + uses: actions/github-script@v6.4.1 with: script: | const package = require(`${process.env.GITHUB_WORKSPACE}/package.json`) - github.repos.createCommitStatus({ + github.rest.repos.createCommitStatus({ owner: context.repo.owner, repo: context.repo.repo, sha: context.sha,