diff --git a/.github/workflows/publishVersionCheckResults.yml b/.github/workflows/publishVersionCheckResults.yml index 63a2c53e53..329fa8a227 100644 --- a/.github/workflows/publishVersionCheckResults.yml +++ b/.github/workflows/publishVersionCheckResults.yml @@ -25,7 +25,7 @@ jobs: steps: - name: Search version increment git patch - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 id: search-patch with: github-token: ${{ secrets.GITHUB_TOKEN }} @@ -44,7 +44,7 @@ jobs: persist-credentials: false #Opt out from persisting the default Github-token authentication in order to enable use of the bot's PAT when pushing below - name: Download version increment git patch - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 id: fetch-patch if: steps.search-patch.outputs.result with: @@ -106,7 +106,7 @@ jobs: direction: last - name: Add or update information comment - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 if: always() && steps.search-patch.outputs.result env: FILELIST: ${{ steps.git-commit.outputs.file-list }} diff --git a/.github/workflows/rebase-upstream.yml b/.github/workflows/rebase-upstream.yml index ca28692390..f938440618 100644 --- a/.github/workflows/rebase-upstream.yml +++ b/.github/workflows/rebase-upstream.yml @@ -15,7 +15,7 @@ jobs: pull-requests: write steps: - name: Add comment with rebase instructions - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | const comment = `### 🔄 Rebase on Upstream Master @@ -53,7 +53,7 @@ jobs: steps: - name: Check if user is authorized id: check-auth - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | const author_association = context.payload.comment.author_association; @@ -73,7 +73,7 @@ jobs: - name: Add rocket reaction to acknowledge command if: steps.check-auth.outputs.result == 'true' - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | github.rest.reactions.createForIssueComment({ @@ -86,7 +86,7 @@ jobs: - name: Get PR branch information if: steps.check-auth.outputs.result == 'true' id: pr-info - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | const { data: pr } = await github.rest.pulls.get({ @@ -197,7 +197,7 @@ jobs: - name: Add success comment and reaction if: steps.check-auth.outputs.result == 'true' && steps.rebase.outputs.rebase_failed != 'true' && steps.push.outputs.push_failed != 'true' - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | await github.rest.reactions.createForIssueComment({ @@ -216,7 +216,7 @@ jobs: - name: Add rebase failure comment and reaction if: steps.check-auth.outputs.result == 'true' && failure() && steps.rebase.outputs.rebase_failed == 'true' - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | await github.rest.reactions.createForIssueComment({ @@ -256,7 +256,7 @@ jobs: - name: Add push failure comment and reaction if: steps.check-auth.outputs.result == 'true' && failure() && steps.push.outputs.push_failed == 'true' - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | await github.rest.reactions.createForIssueComment({ diff --git a/.github/workflows/sync-upstream.yml b/.github/workflows/sync-upstream.yml index b905cb15f8..4e26fe083d 100644 --- a/.github/workflows/sync-upstream.yml +++ b/.github/workflows/sync-upstream.yml @@ -108,7 +108,7 @@ jobs: steps: - name: Check user permission id: check - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: result-encoding: string script: | @@ -123,7 +123,7 @@ jobs: - name: Add unauthorized reaction if: steps.check.outputs.result != 'true' - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | await github.rest.reactions.createForIssueComment({ @@ -145,7 +145,7 @@ jobs: run: exit 1 - name: Add rocket reaction - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | await github.rest.reactions.createForIssueComment({ @@ -244,7 +244,7 @@ jobs: - name: Add success comment if: steps.push.outputs.success == 'true' - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | await github.rest.issues.createComment({ @@ -263,7 +263,7 @@ jobs: - name: Add failure comment if: steps.push.outputs.success == 'false' - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | const comment = `❌ Sync failed. Please check the workflow logs for details.