diff --git a/.github/workflows/cargo-update.yml b/.github/workflows/cargo-update.yml index a03adb02e..823b157d5 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@v7 + uses: actions/github-script@v8 with: github-token: ${{ secrets.GH_RELEASE_PAT }} script: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 642499057..0688cb85f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -138,7 +138,7 @@ jobs: retention-days: 7 - name: Create release notes - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const fs = require("node:fs"); @@ -199,7 +199,7 @@ jobs: - name: Create GitHub release id: create_release - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: # The response is explicitly returned here so it will be available for other steps script: | @@ -242,7 +242,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@v7 + uses: actions/github-script@v8 with: github-token: ${{ secrets.GH_RELEASE_PAT }} script: | @@ -258,7 +258,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@v7 + uses: actions/github-script@v8 with: github-token: ${{ secrets.GH_RELEASE_PAT }} script: |