diff --git a/.github/workflows/cargo-update.yml b/.github/workflows/cargo-update.yml index 70191b183..e5ee4e28d 100644 --- a/.github/workflows/cargo-update.yml +++ b/.github/workflows/cargo-update.yml @@ -36,7 +36,7 @@ jobs: # The PR may already exist (e.g., created in previous week and not merged yet) so we # allow it here and check in the next step so workflow failures will be extraordinary continue-on-error: true - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: github-token: ${{ secrets.GH_RELEASE_PAT }} script: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 09ea7d051..77a9f2000 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -136,7 +136,7 @@ jobs: retention-days: 7 - name: Create release notes - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | const fs = require("node:fs"); @@ -196,7 +196,7 @@ jobs: - name: Create GitHub release id: create_release - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: # The response is explicitly returned here so it will be available for other steps script: | @@ -239,7 +239,7 @@ jobs: # Don't trigger for pre-releases if: ${{ !contains(github.ref, 'rc') }} # Reference: https://docs.github.com/en/rest/repos/repos#create-a-repository-dispatch-event - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: github-token: ${{ secrets.GH_RELEASE_PAT }} script: | @@ -255,7 +255,7 @@ jobs: # Don't trigger for pre-releases if: ${{ !contains(github.ref, 'rc') }} # Reference: https://docs.github.com/en/rest/repos/repos#create-a-repository-dispatch-event - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: github-token: ${{ secrets.GH_RELEASE_PAT }} script: |