diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 34622ca79..5ee815aee 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -178,7 +178,7 @@ jobs: - name: Create PR for manual runs if: github.event_name == 'workflow_dispatch' - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | const branchName = '${{ needs.run-benchmarks.outputs.branch_name }}'; @@ -206,7 +206,7 @@ jobs: - name: Comment on PR if: github.event.inputs.pr_number != '' || github.event_name == 'pull_request' - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | const prNumber = ${{ github.event.inputs.pr_number || github.event.pull_request.number }}; diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b18435be4..89b5af864 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -58,7 +58,7 @@ jobs: # the changelog. - name: Create build-specific nightly tag if: ${{ env.IS_NIGHTLY == 'true' }} - uses: actions/github-script@v8 + uses: actions/github-script@v9 env: TAG_NAME: ${{ steps.release_info.outputs.tag_name }} with: @@ -321,14 +321,14 @@ jobs: # Moves the `nightly` tag to `HEAD` - name: Move nightly tag if: ${{ env.IS_NIGHTLY == 'true' }} - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | const moveTag = require('./.github/scripts/move-tag.js') await moveTag({ github, context }, 'nightly') - name: Delete old nightlies - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | const prunePrereleases = require('./.github/scripts/prune-prereleases.js')