diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index 03dd22a8f..8c0337a48 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -57,7 +57,7 @@ jobs: echo EOF } >> "$GITHUB_OUTPUT" - name: Annotation - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | const file = JSON.parse(`${{ steps.files.outputs.added_modified_renamed }}`)[0] diff --git a/.github/workflows/reopen_on_assignment.yml b/.github/workflows/reopen_on_assignment.yml index 76943488c..3d1bcefe7 100644 --- a/.github/workflows/reopen_on_assignment.yml +++ b/.github/workflows/reopen_on_assignment.yml @@ -26,7 +26,7 @@ jobs: steps: - name: Find and reopen matching PRs - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | const { owner, repo } = context.repo; diff --git a/.github/workflows/require_issue_link.yml b/.github/workflows/require_issue_link.yml index 42120384e..ce6c113e9 100644 --- a/.github/workflows/require_issue_link.yml +++ b/.github/workflows/require_issue_link.yml @@ -50,7 +50,7 @@ jobs: steps: - name: Check for issue link and assignee id: check-link - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | const { owner, repo } = context.repo; @@ -283,7 +283,7 @@ jobs: if: >- env.ENFORCE_ISSUE_LINK == 'true' && (steps.check-link.outputs.has-link != 'true' || steps.check-link.outputs.is-assigned != 'true') - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | const { owner, repo } = context.repo; @@ -312,7 +312,7 @@ jobs: if: >- env.ENFORCE_ISSUE_LINK == 'true' && steps.check-link.outputs.has-link == 'true' && steps.check-link.outputs.is-assigned == 'true' - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | const { owner, repo } = context.repo; @@ -366,7 +366,7 @@ jobs: if: >- env.ENFORCE_ISSUE_LINK == 'true' && (steps.check-link.outputs.has-link != 'true' || steps.check-link.outputs.is-assigned != 'true') - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | const { owner, repo } = context.repo; diff --git a/.github/workflows/tag-external-issues.yml b/.github/workflows/tag-external-issues.yml index fa976cb56..54c5508ca 100644 --- a/.github/workflows/tag-external-issues.yml +++ b/.github/workflows/tag-external-issues.yml @@ -63,7 +63,7 @@ jobs: - name: Check if contributor is external if: steps.app-token.outcome == 'success' id: check-membership - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: github-token: ${{ steps.app-token.outputs.token }} script: | @@ -102,7 +102,7 @@ jobs: - name: Apply contributor tier label if: steps.check-membership.outputs.is-external == 'true' - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | @@ -155,7 +155,7 @@ jobs: - name: Add external label if: steps.check-membership.outputs.is-external == 'true' - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | @@ -168,7 +168,7 @@ jobs: - name: Add internal label if: steps.check-membership.outputs.is-external == 'false' - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | @@ -196,7 +196,7 @@ jobs: private-key: ${{ secrets.ORG_MEMBERSHIP_APP_PRIVATE_KEY }} - name: Backfill labels - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: github-token: ${{ steps.app-token.outputs.token }} script: | diff --git a/.github/workflows/tag-external-prs.yml b/.github/workflows/tag-external-prs.yml index 8ac61f35c..6b4d68286 100644 --- a/.github/workflows/tag-external-prs.yml +++ b/.github/workflows/tag-external-prs.yml @@ -48,7 +48,7 @@ jobs: - name: Check if contributor is external if: steps.app-token.outcome == 'success' id: check-membership - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: github-token: ${{ steps.app-token.outputs.token }} script: | @@ -90,7 +90,7 @@ jobs: # event fires and triggers require_issue_link.yml. - name: Apply contributor tier label if: steps.check-membership.outputs.is-external == 'true' - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: # Use App token so the "labeled" event propagates to downstream # workflows (e.g. require_issue_link.yml). @@ -145,7 +145,7 @@ jobs: - name: Add external label if: steps.check-membership.outputs.is-external == 'true' - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: # Use App token so the "labeled" event propagates to downstream # workflows (e.g. require_issue_link.yml). Events created by the @@ -161,7 +161,7 @@ jobs: - name: Add internal label if: steps.check-membership.outputs.is-external == 'false' - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: |