diff --git a/.github/workflows/auto-close-dependencies.yml b/.github/workflows/auto-close-dependencies.yml index ce796a8054..8ed6848c36 100644 --- a/.github/workflows/auto-close-dependencies.yml +++ b/.github/workflows/auto-close-dependencies.yml @@ -50,7 +50,7 @@ jobs: # Because we get far too much spam ;_; - name: Lock conversations - uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd env: PR_NUMBER: ${{ github.event.pull_request.number }} with: diff --git a/.github/workflows/changelog-prompt.yml b/.github/workflows/changelog-prompt.yml index 30d68492c4..5a02ff8287 100644 --- a/.github/workflows/changelog-prompt.yml +++ b/.github/workflows/changelog-prompt.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Check if PR author is in docs-content team id: check_team - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 with: github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} script: | @@ -41,7 +41,7 @@ jobs: if: env.CONTINUE_WORKFLOW == 'true' - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 with: github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} script: | diff --git a/.github/workflows/check-for-spammy-issues.yml b/.github/workflows/check-for-spammy-issues.yml index 9a0f7be2da..24a11a3cad 100644 --- a/.github/workflows/check-for-spammy-issues.yml +++ b/.github/workflows/check-for-spammy-issues.yml @@ -17,7 +17,7 @@ jobs: if: github.repository == 'github/docs' runs-on: ubuntu-latest steps: - - uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 + - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd with: github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} script: | diff --git a/.github/workflows/close-bad-repo-sync-prs.yml b/.github/workflows/close-bad-repo-sync-prs.yml index ec3443d9da..391422e273 100644 --- a/.github/workflows/close-bad-repo-sync-prs.yml +++ b/.github/workflows/close-bad-repo-sync-prs.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Close pull request if unwanted - uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd with: github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} script: | diff --git a/.github/workflows/confirm-internal-staff-work-in-docs.yml b/.github/workflows/confirm-internal-staff-work-in-docs.yml index db32fbea73..f2b4cb4b21 100644 --- a/.github/workflows/confirm-internal-staff-work-in-docs.yml +++ b/.github/workflows/confirm-internal-staff-work-in-docs.yml @@ -24,7 +24,7 @@ jobs: if: github.repository == 'github/docs' && github.actor != 'docs-bot' steps: - id: membership_check - uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd env: TEAM_CONTENT_REPO: ${{ secrets.TEAM_CONTENT_REPO }} with: diff --git a/.github/workflows/copy-api-issue-to-internal.yml b/.github/workflows/copy-api-issue-to-internal.yml index 0c19757000..c630786ddf 100644 --- a/.github/workflows/copy-api-issue-to-internal.yml +++ b/.github/workflows/copy-api-issue-to-internal.yml @@ -19,7 +19,7 @@ jobs: if: github.event.label.name == 'fix-internally' && github.repository == 'github/docs' steps: - name: Check if this run was triggered by a member of the docs team - uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd id: triggered-by-member with: github-token: ${{secrets.DOCS_BOT_PAT_BASE}} diff --git a/.github/workflows/create-changelog-pr.yml b/.github/workflows/create-changelog-pr.yml index 0ec06dc3f8..3b89c9c534 100644 --- a/.github/workflows/create-changelog-pr.yml +++ b/.github/workflows/create-changelog-pr.yml @@ -34,7 +34,7 @@ jobs: - name: Check that the user belongs to the github org id: hubber_check - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd with: github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} script: | @@ -105,7 +105,7 @@ jobs: - name: Create a pull request if: env.CONTINUE_WORKFLOW == 'true' - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd id: create_pull_request with: github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} @@ -124,7 +124,7 @@ jobs: - name: Add 'ready-for-doc-review' label to PR if: env.CONTINUE_WORKFLOW == 'true' - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd env: # Get the number of the PR that was just created: PULL_REQUEST_NUMBER: ${{ steps.create_pull_request.outputs.pull-request-number }} @@ -140,7 +140,7 @@ jobs: - name: Assign PR to commenter if: env.CONTINUE_WORKFLOW == 'true' - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd env: # Reuse the PR number captured earlier PULL_REQUEST_NUMBER: ${{ steps.create_pull_request.outputs.pull-request-number }} diff --git a/.github/workflows/first-responder-v2-prs-collect.yml b/.github/workflows/first-responder-v2-prs-collect.yml index 0563c8fc27..d5d58917b6 100644 --- a/.github/workflows/first-responder-v2-prs-collect.yml +++ b/.github/workflows/first-responder-v2-prs-collect.yml @@ -27,7 +27,7 @@ jobs: uses: actions/checkout@v5 - name: Check if the event originated from a team member - uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd id: check-membership with: github-token: ${{secrets.DOCS_BOT_PAT_BASE}} diff --git a/.github/workflows/hubber-contribution-help.yml b/.github/workflows/hubber-contribution-help.yml index 2282d02800..0d7ed5e921 100644 --- a/.github/workflows/hubber-contribution-help.yml +++ b/.github/workflows/hubber-contribution-help.yml @@ -26,7 +26,7 @@ jobs: uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - id: membership_check - uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd with: github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} script: | diff --git a/.github/workflows/index-general-search.yml b/.github/workflows/index-general-search.yml index f594005a0c..90e086b3cf 100644 --- a/.github/workflows/index-general-search.yml +++ b/.github/workflows/index-general-search.yml @@ -45,7 +45,7 @@ jobs: outputs: matrix: ${{ steps.set-matrix.outputs.result }} steps: - - uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 # v7.0.0 + - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 id: set-matrix with: script: | diff --git a/.github/workflows/merged-notification.yml b/.github/workflows/merged-notification.yml index 7ffadd51a1..225d9a3bbe 100644 --- a/.github/workflows/merged-notification.yml +++ b/.github/workflows/merged-notification.yml @@ -20,7 +20,7 @@ jobs: if: github.repository == 'github/docs' && github.event.pull_request.merged && github.event.pull_request.base.ref == github.event.repository.default_branch && github.event.pull_request.user.login != 'docs-bot' runs-on: ubuntu-latest steps: - - uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 + - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd with: script: | github.rest.issues.createComment({ diff --git a/.github/workflows/move-existing-issues-to-the-correct-repo.yml b/.github/workflows/move-existing-issues-to-the-correct-repo.yml index 8214dbbc50..de50f7af27 100644 --- a/.github/workflows/move-existing-issues-to-the-correct-repo.yml +++ b/.github/workflows/move-existing-issues-to-the-correct-repo.yml @@ -16,7 +16,7 @@ jobs: if: github.repository == 'github/docs-internal' steps: - id: move_to_correct_repo - uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd env: TEAM_ENGINEERING_REPO: ${{ secrets.TEAM_ENGINEERING_REPO }} TEAM_CONTENT_REPO: ${{ secrets.TEAM_CONTENT_REPO }} diff --git a/.github/workflows/move-reopened-issues-to-triage.yaml b/.github/workflows/move-reopened-issues-to-triage.yaml index abbff08331..0e6ce5ea1b 100644 --- a/.github/workflows/move-reopened-issues-to-triage.yaml +++ b/.github/workflows/move-reopened-issues-to-triage.yaml @@ -18,7 +18,7 @@ jobs: if: github.repository == 'github/docs' runs-on: ubuntu-latest steps: - - uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 + - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd with: script: | const issueNumber = context.issue.number; diff --git a/.github/workflows/notify-when-maintainers-cannot-edit.yaml b/.github/workflows/notify-when-maintainers-cannot-edit.yaml index 1f3cee194e..8e93e6dcea 100644 --- a/.github/workflows/notify-when-maintainers-cannot-edit.yaml +++ b/.github/workflows/notify-when-maintainers-cannot-edit.yaml @@ -19,7 +19,7 @@ jobs: if: github.repository == 'github/docs' runs-on: ubuntu-latest steps: - - uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 + - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd with: script: | const query = ` diff --git a/.github/workflows/os-ready-for-review.yml b/.github/workflows/os-ready-for-review.yml index 78ba66df68..d0473fc51d 100644 --- a/.github/workflows/os-ready-for-review.yml +++ b/.github/workflows/os-ready-for-review.yml @@ -23,7 +23,7 @@ jobs: uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: Check if this run was triggered by a member of the docs team - uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd id: triggered-by-member with: github-token: ${{secrets.DOCS_BOT_PAT_BASE}} diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index bb1abe9f30..bb915d1b85 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -34,7 +34,7 @@ jobs: github_token: ${{ secrets.DOCS_BOT_PAT_REPO_SYNC }} - name: Ship pull request - uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd with: github-token: ${{ secrets.DOCS_BOT_PAT_REPO_SYNC }} result-encoding: string diff --git a/.github/workflows/sme-review-tracking-issue.yml b/.github/workflows/sme-review-tracking-issue.yml index e6d7b2eadd..f619c060c6 100644 --- a/.github/workflows/sme-review-tracking-issue.yml +++ b/.github/workflows/sme-review-tracking-issue.yml @@ -24,7 +24,7 @@ jobs: - id: create-issue env: URL: ${{ github.event.pull_request.html_url || github.event.issue.html_url }} - uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd with: github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} script: |- diff --git a/.github/workflows/triage-issue-comments.yml b/.github/workflows/triage-issue-comments.yml index f8e4955b6a..740249159c 100644 --- a/.github/workflows/triage-issue-comments.yml +++ b/.github/workflows/triage-issue-comments.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Check if the event originated from a team member - uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd id: is-internal-contributor with: result-encoding: string