diff --git a/.github/workflows/auto-close-dependencies.yml b/.github/workflows/auto-close-dependencies.yml index dcf25ea61f..ce796a8054 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@98814c53be79b1d30f795b907e553d8679345975 + uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 env: PR_NUMBER: ${{ github.event.pull_request.number }} with: diff --git a/.github/workflows/azure-preview-env-deploy.yml b/.github/workflows/azure-preview-env-deploy.yml index 3d040a6094..74d3001dac 100644 --- a/.github/workflows/azure-preview-env-deploy.yml +++ b/.github/workflows/azure-preview-env-deploy.yml @@ -116,7 +116,7 @@ jobs: - if: ${{ env.IS_INTERNAL_BUILD == 'true' }} name: Determine which docs-early-access branch to clone id: 'check-early-access' - uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 + uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 env: BRANCH_NAME: ${{ env.BRANCH_NAME }} with: @@ -157,7 +157,7 @@ jobs: run: src/early-access/scripts/merge-early-access.sh - name: Determine if we should include translations? - uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 + uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 id: with-translations with: script: | diff --git a/.github/workflows/check-for-spammy-issues.yml b/.github/workflows/check-for-spammy-issues.yml index 8ea7f9920f..7b0288f56b 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@98814c53be79b1d30f795b907e553d8679345975 + - uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 with: github-token: ${{ secrets.DOCS_BOT_PAT_WORKFLOW_READORG }} script: | diff --git a/.github/workflows/close-bad-repo-sync-prs.yml b/.github/workflows/close-bad-repo-sync-prs.yml index 48e0bbe844..8919b5751d 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@d7906e4ad0b1822421a7e6a35d5ca353c962f410 + uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 with: github-token: ${{ secrets.DOCS_BOT_PAT_WRITEORG_PROJECT }} script: | diff --git a/.github/workflows/confirm-internal-staff-work-in-docs.yml b/.github/workflows/confirm-internal-staff-work-in-docs.yml index f5d4965d47..ca3ede0e84 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@98814c53be79b1d30f795b907e553d8679345975 + uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 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 4577a949f9..1804a57b53 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 == 'rest-description' || github.event.label.name == 'graphql-description' || github.event.label.name == 'webhook-description') && github.repository == 'github/docs' steps: - name: Check if this run was triggered by a member of the docs team - uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 + uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 id: triggered-by-member with: github-token: ${{secrets.DOCS_BOT_PAT_WORKFLOW_READORG}} diff --git a/.github/workflows/first-responder-docs-content.yml b/.github/workflows/first-responder-docs-content.yml index 36193990b8..f7fedc78bb 100644 --- a/.github/workflows/first-responder-docs-content.yml +++ b/.github/workflows/first-responder-docs-content.yml @@ -27,7 +27,7 @@ jobs: uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 - name: Check if the event originated from a team member - uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 + uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 id: set-result with: github-token: ${{secrets.DOCS_BOT_PAT_WORKFLOW_READORG}} @@ -75,7 +75,7 @@ jobs: uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 - name: Remove card from project - uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 + uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 with: github-token: ${{secrets.DOCS_BOT_PAT_WORKFLOW_READORG}} result-encoding: string diff --git a/.github/workflows/hubber-contribution-help.yml b/.github/workflows/hubber-contribution-help.yml index 7a05a023bf..774605fcf6 100644 --- a/.github/workflows/hubber-contribution-help.yml +++ b/.github/workflows/hubber-contribution-help.yml @@ -25,7 +25,7 @@ jobs: uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 - id: membership_check - uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 + uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 with: github-token: ${{ secrets.DOCS_BOT_PAT_WORKFLOW_READORG }} script: | diff --git a/.github/workflows/merged-notification.yml b/.github/workflows/merged-notification.yml index 715a1ace7e..7ffadd51a1 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@98814c53be79b1d30f795b907e553d8679345975 + - uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 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 aacd62c33d..217d595e0f 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@98814c53be79b1d30f795b907e553d8679345975 + uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 env: TEAM_ENGINEERING_REPO: ${{ secrets.TEAM_ENGINEERING_REPO }} TEAM_CONTENT_REPO: ${{ secrets.TEAM_CONTENT_REPO }} diff --git a/.github/workflows/move-new-issues-to-correct-docs-repo.yml b/.github/workflows/move-new-issues-to-correct-docs-repo.yml index 4c8114c401..9c1ff00b7f 100644 --- a/.github/workflows/move-new-issues-to-correct-docs-repo.yml +++ b/.github/workflows/move-new-issues-to-correct-docs-repo.yml @@ -21,7 +21,7 @@ jobs: if: github.repository == 'github/docs-internal' steps: - id: move_to_correct_repo - uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 + uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 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 a4a2db4a0b..f47770dae2 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@98814c53be79b1d30f795b907e553d8679345975 + - uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 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 0a9d9deb70..1f3cee194e 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@98814c53be79b1d30f795b907e553d8679345975 + - uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 with: script: | const query = ` diff --git a/.github/workflows/os-ready-for-review.yml b/.github/workflows/os-ready-for-review.yml index 04f7f7df8e..2fe567cd7b 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@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 - name: Check if this run was triggered by a member of the docs team - uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 + uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 id: triggered-by-member with: github-token: ${{secrets.DOCS_BOT_PAT_WORKFLOW_READORG}} diff --git a/.github/workflows/repo-sync-stalls.yml b/.github/workflows/repo-sync-stalls.yml index 1ca2fb7d24..6c35e804e8 100644 --- a/.github/workflows/repo-sync-stalls.yml +++ b/.github/workflows/repo-sync-stalls.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check if repo sync is stalled - uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 + uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 with: script: | let pulls; diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index 5bcb2310dc..ab37ad0e41 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -34,7 +34,7 @@ jobs: github_token: ${{ secrets.DOCS_BOT_PAT_WORKFLOW }} - name: Ship pull request - uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 + uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 with: github-token: ${{ secrets.DOCS_BOT_PAT_WORKFLOW }} result-encoding: string diff --git a/.github/workflows/sync-search-elasticsearch.yml b/.github/workflows/sync-search-elasticsearch.yml index 0e60a68363..8c7faf092e 100644 --- a/.github/workflows/sync-search-elasticsearch.yml +++ b/.github/workflows/sync-search-elasticsearch.yml @@ -45,7 +45,7 @@ jobs: outputs: matrix: ${{ steps.set-matrix.outputs.result }} steps: - - uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 + - uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 # v7.0.0 id: set-matrix with: script: | diff --git a/.github/workflows/transfer-api-issue-to-openapi.yml b/.github/workflows/transfer-api-issue-to-openapi.yml index 669de87310..3325c6eaf9 100644 --- a/.github/workflows/transfer-api-issue-to-openapi.yml +++ b/.github/workflows/transfer-api-issue-to-openapi.yml @@ -19,7 +19,7 @@ jobs: if: github.event.label.name == 'rest-schema' && github.repository == 'github/docs' steps: - name: Check if this run was triggered by a member of the docs team - uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 + uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 id: triggered-by-member with: github-token: ${{secrets.DOCS_BOT_PAT_WORKFLOW_READORG}} diff --git a/.github/workflows/triage-issue-comments.yml b/.github/workflows/triage-issue-comments.yml index 7e526bcfd1..a66df8d93b 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@98814c53be79b1d30f795b907e553d8679345975 + uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 id: is-internal-contributor with: result-encoding: string diff --git a/.github/workflows/triage-unallowed-contributions.yml b/.github/workflows/triage-unallowed-contributions.yml index f0909bbe2f..3081faed6f 100644 --- a/.github/workflows/triage-unallowed-contributions.yml +++ b/.github/workflows/triage-unallowed-contributions.yml @@ -68,7 +68,7 @@ jobs: # explaining this to the PR author - name: "Comment about changes we can't accept" if: ${{ steps.filter.outputs.notAllowed }} - uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 + uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 with: script: | const badFilesArr = [