From bf08ead0df743e22f7aaaa29d0ea886f8299e7e9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 10 May 2023 12:58:11 +0000 Subject: [PATCH] Bump actions/github-script Bumps [actions/github-script](https://github.com/actions/github-script) from 57c10d434ec3b7112b3635cd63771978bcfc50dc to 6f00a0b667f9463337970371ccda9072ee86fb27. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/57c10d434ec3b7112b3635cd63771978bcfc50dc...6f00a0b667f9463337970371ccda9072ee86fb27) --- updated-dependencies: - dependency-name: actions/github-script dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- .github/workflows/automerge-dependencies.yml | 2 +- .github/workflows/azure-preview-env-deploy.yml | 2 +- .github/workflows/azure-prod-build-deploy.yml | 2 +- .github/workflows/azure-staging-build-deploy.yml | 2 +- .github/workflows/check-for-spammy-issues.yml | 2 +- .github/workflows/confirm-internal-staff-work-in-docs.yml | 2 +- .github/workflows/copy-api-issue-to-internal.yml | 2 +- .github/workflows/first-responder-docs-content.yml | 4 ++-- .github/workflows/hubber-contribution-help.yml | 2 +- .github/workflows/merged-notification.yml | 2 +- .../move-existing-issues-to-the-correct-repo.yml | 2 +- .../workflows/move-new-issues-to-correct-docs-repo.yml | 2 +- .github/workflows/move-reopened-issues-to-triage.yaml | 2 +- .../workflows/notify-when-maintainers-cannot-edit.yaml | 2 +- .github/workflows/os-ready-for-review.yml | 2 +- .github/workflows/repo-sync-stalls.yml | 2 +- .github/workflows/repo-sync.yml | 8 ++++---- .github/workflows/test.yml | 2 +- .github/workflows/transfer-api-issue-to-openapi.yml | 2 +- .github/workflows/transfer-to-localization-repo.yml | 2 +- .github/workflows/triage-issue-comments.yml | 2 +- .github/workflows/triage-unallowed-contributions.yml | 2 +- 22 files changed, 26 insertions(+), 26 deletions(-) diff --git a/.github/workflows/automerge-dependencies.yml b/.github/workflows/automerge-dependencies.yml index 2297b59a0c05..6ed992575965 100644 --- a/.github/workflows/automerge-dependencies.yml +++ b/.github/workflows/automerge-dependencies.yml @@ -68,7 +68,7 @@ jobs: # Because we get far too much spam ;_; - name: Lock conversations - uses: actions/github-script@57c10d434ec3b7112b3635cd63771978bcfc50dc + uses: actions/github-script@6f00a0b667f9463337970371ccda9072ee86fb27 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 0660ec57d0bb..1f97cb0dba01 100644 --- a/.github/workflows/azure-preview-env-deploy.yml +++ b/.github/workflows/azure-preview-env-deploy.yml @@ -110,7 +110,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@57c10d434ec3b7112b3635cd63771978bcfc50dc + uses: actions/github-script@6f00a0b667f9463337970371ccda9072ee86fb27 env: BRANCH_NAME: ${{ env.BRANCH_NAME }} with: diff --git a/.github/workflows/azure-prod-build-deploy.yml b/.github/workflows/azure-prod-build-deploy.yml index 188c5f6996e0..a48f32746b41 100644 --- a/.github/workflows/azure-prod-build-deploy.yml +++ b/.github/workflows/azure-prod-build-deploy.yml @@ -98,7 +98,7 @@ jobs: # Watch canary slot instances to see when all the instances are ready - name: Check that canary slot is ready - uses: actions/github-script@57c10d434ec3b7112b3635cd63771978bcfc50dc + uses: actions/github-script@6f00a0b667f9463337970371ccda9072ee86fb27 env: CHECK_INTERVAL: 10000 with: diff --git a/.github/workflows/azure-staging-build-deploy.yml b/.github/workflows/azure-staging-build-deploy.yml index 6971d50d6c50..0faeba6a73bf 100644 --- a/.github/workflows/azure-staging-build-deploy.yml +++ b/.github/workflows/azure-staging-build-deploy.yml @@ -114,7 +114,7 @@ jobs: # Watch deployment slot instances to see when all the instances are ready - name: Check that deployment slot is ready - uses: actions/github-script@57c10d434ec3b7112b3635cd63771978bcfc50dc + uses: actions/github-script@6f00a0b667f9463337970371ccda9072ee86fb27 env: CHECK_INTERVAL: 10000 with: diff --git a/.github/workflows/check-for-spammy-issues.yml b/.github/workflows/check-for-spammy-issues.yml index 196ad40f53a3..84f3e1dc0d22 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@57c10d434ec3b7112b3635cd63771978bcfc50dc + - uses: actions/github-script@6f00a0b667f9463337970371ccda9072ee86fb27 with: github-token: ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }} script: | diff --git a/.github/workflows/confirm-internal-staff-work-in-docs.yml b/.github/workflows/confirm-internal-staff-work-in-docs.yml index d3b310c0d35d..e620eb28d08a 100644 --- a/.github/workflows/confirm-internal-staff-work-in-docs.yml +++ b/.github/workflows/confirm-internal-staff-work-in-docs.yml @@ -23,7 +23,7 @@ jobs: if: github.repository == 'github/docs' && github.actor != 'docs-bot' steps: - id: membership_check - uses: actions/github-script@57c10d434ec3b7112b3635cd63771978bcfc50dc + uses: actions/github-script@6f00a0b667f9463337970371ccda9072ee86fb27 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 dd13e72dd6ba..8d11094f6f02 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.repository == 'github/docs' steps: - name: Check if this run was triggered by a member of the docs team - uses: actions/github-script@57c10d434ec3b7112b3635cd63771978bcfc50dc + uses: actions/github-script@6f00a0b667f9463337970371ccda9072ee86fb27 id: triggered-by-member with: github-token: ${{secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES}} diff --git a/.github/workflows/first-responder-docs-content.yml b/.github/workflows/first-responder-docs-content.yml index 482f8c56b874..7af2eb9c730e 100644 --- a/.github/workflows/first-responder-docs-content.yml +++ b/.github/workflows/first-responder-docs-content.yml @@ -24,7 +24,7 @@ jobs: steps: - name: Check if the event originated from a team member - uses: actions/github-script@57c10d434ec3b7112b3635cd63771978bcfc50dc + uses: actions/github-script@6f00a0b667f9463337970371ccda9072ee86fb27 id: set-result with: github-token: ${{secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES}} @@ -71,7 +71,7 @@ jobs: steps: - name: Remove card from project - uses: actions/github-script@57c10d434ec3b7112b3635cd63771978bcfc50dc + uses: actions/github-script@6f00a0b667f9463337970371ccda9072ee86fb27 with: github-token: ${{secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES}} result-encoding: string diff --git a/.github/workflows/hubber-contribution-help.yml b/.github/workflows/hubber-contribution-help.yml index b3a41b1309e9..1145e60f8f38 100644 --- a/.github/workflows/hubber-contribution-help.yml +++ b/.github/workflows/hubber-contribution-help.yml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest steps: - id: membership_check - uses: actions/github-script@57c10d434ec3b7112b3635cd63771978bcfc50dc + uses: actions/github-script@6f00a0b667f9463337970371ccda9072ee86fb27 with: github-token: ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }} script: | diff --git a/.github/workflows/merged-notification.yml b/.github/workflows/merged-notification.yml index 0a0e4078e371..44630b056a4b 100644 --- a/.github/workflows/merged-notification.yml +++ b/.github/workflows/merged-notification.yml @@ -18,7 +18,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 != 'Octomerger' runs-on: ubuntu-latest steps: - - uses: actions/github-script@57c10d434ec3b7112b3635cd63771978bcfc50dc + - uses: actions/github-script@6f00a0b667f9463337970371ccda9072ee86fb27 with: script: | github.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 0f9eb5a78c73..938960c2d90e 100644 --- a/.github/workflows/move-existing-issues-to-the-correct-repo.yml +++ b/.github/workflows/move-existing-issues-to-the-correct-repo.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - id: move_to_correct_repo - uses: actions/github-script@57c10d434ec3b7112b3635cd63771978bcfc50dc + uses: actions/github-script@6f00a0b667f9463337970371ccda9072ee86fb27 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 0639b1a6389e..b53c7d5b9ff4 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@57c10d434ec3b7112b3635cd63771978bcfc50dc + uses: actions/github-script@6f00a0b667f9463337970371ccda9072ee86fb27 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 1494de914eb0..2bd785d42ecc 100644 --- a/.github/workflows/move-reopened-issues-to-triage.yaml +++ b/.github/workflows/move-reopened-issues-to-triage.yaml @@ -17,7 +17,7 @@ jobs: if: github.repository == 'github/docs' runs-on: ubuntu-latest steps: - - uses: actions/github-script@57c10d434ec3b7112b3635cd63771978bcfc50dc + - uses: actions/github-script@6f00a0b667f9463337970371ccda9072ee86fb27 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 d2991ee4d23b..2921580f4d80 100644 --- a/.github/workflows/notify-when-maintainers-cannot-edit.yaml +++ b/.github/workflows/notify-when-maintainers-cannot-edit.yaml @@ -17,7 +17,7 @@ jobs: if: github.repository == 'github/docs' runs-on: ubuntu-latest steps: - - uses: actions/github-script@57c10d434ec3b7112b3635cd63771978bcfc50dc + - uses: actions/github-script@6f00a0b667f9463337970371ccda9072ee86fb27 with: script: | const query = ` diff --git a/.github/workflows/os-ready-for-review.yml b/.github/workflows/os-ready-for-review.yml index 43aea1912d14..b0d461639063 100644 --- a/.github/workflows/os-ready-for-review.yml +++ b/.github/workflows/os-ready-for-review.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check if this run was triggered by a member of the docs team - uses: actions/github-script@57c10d434ec3b7112b3635cd63771978bcfc50dc + uses: actions/github-script@6f00a0b667f9463337970371ccda9072ee86fb27 id: triggered-by-member with: github-token: ${{secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES}} diff --git a/.github/workflows/repo-sync-stalls.yml b/.github/workflows/repo-sync-stalls.yml index ecf93e9b46a6..a284bffa87c7 100644 --- a/.github/workflows/repo-sync-stalls.yml +++ b/.github/workflows/repo-sync-stalls.yml @@ -18,7 +18,7 @@ jobs: steps: - if: github.repository == 'github/docs-internal' || github.repository == 'github/docs' name: Check if repo sync is stalled - uses: actions/github-script@57c10d434ec3b7112b3635cd63771978bcfc50dc + uses: actions/github-script@6f00a0b667f9463337970371ccda9072ee86fb27 with: script: | let pulls; diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index 316c2bf3b0db..cf241f025f72 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -41,7 +41,7 @@ jobs: - name: Close pull request if unwanted if: ${{ github.repository == 'github/docs' && steps.find-pull-request.outputs.number }} - uses: actions/github-script@57c10d434ec3b7112b3635cd63771978bcfc50dc + uses: actions/github-script@6f00a0b667f9463337970371ccda9072ee86fb27 with: github-token: ${{ secrets.DOCS_BOT_SPAM_VISION }} script: | @@ -147,7 +147,7 @@ jobs: # Because we get far too much spam ;_; - name: Lock conversations if: ${{ github.repository == 'github/docs' && steps.find-pull-request.outputs.number }} - uses: actions/github-script@57c10d434ec3b7112b3635cd63771978bcfc50dc + uses: actions/github-script@6f00a0b667f9463337970371ccda9072ee86fb27 with: script: | try { @@ -165,7 +165,7 @@ jobs: # There are cases where the branch becomes out-of-date in between the time this workflow began and when the pull request is created/updated - name: Update branch if: ${{ steps.find-pull-request.outputs.number }} - uses: actions/github-script@57c10d434ec3b7112b3635cd63771978bcfc50dc + uses: actions/github-script@6f00a0b667f9463337970371ccda9072ee86fb27 with: github-token: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }} script: | @@ -214,7 +214,7 @@ jobs: - name: Check pull request file count after updating if: ${{ steps.find-pull-request.outputs.number }} - uses: actions/github-script@57c10d434ec3b7112b3635cd63771978bcfc50dc + uses: actions/github-script@6f00a0b667f9463337970371ccda9072ee86fb27 id: pr-files env: PR_NUMBER: ${{ steps.find-pull-request.outputs.number }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 10461f4ddb61..d33e4db31dd5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -58,7 +58,7 @@ jobs: - name: Figure out which docs-early-access branch to checkout, if internal repo if: ${{ github.repository == 'github/docs-internal' }} id: check-early-access - uses: actions/github-script@57c10d434ec3b7112b3635cd63771978bcfc50dc + uses: actions/github-script@6f00a0b667f9463337970371ccda9072ee86fb27 env: BRANCH_NAME: ${{ github.head_ref || github.ref_name }} with: diff --git a/.github/workflows/transfer-api-issue-to-openapi.yml b/.github/workflows/transfer-api-issue-to-openapi.yml index ca996428f3f8..edbf047e4a2f 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@57c10d434ec3b7112b3635cd63771978bcfc50dc + uses: actions/github-script@6f00a0b667f9463337970371ccda9072ee86fb27 id: triggered-by-member with: github-token: ${{secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES}} diff --git a/.github/workflows/transfer-to-localization-repo.yml b/.github/workflows/transfer-to-localization-repo.yml index 4412fef6abf6..9632b13d7319 100644 --- a/.github/workflows/transfer-to-localization-repo.yml +++ b/.github/workflows/transfer-to-localization-repo.yml @@ -19,7 +19,7 @@ jobs: if: (github.event.label.name == 'localization ' && github.repository == 'github/docs') steps: - name: Check if this run was triggered by a member of the docs team - uses: actions/github-script@57c10d434ec3b7112b3635cd63771978bcfc50dc + uses: actions/github-script@6f00a0b667f9463337970371ccda9072ee86fb27 id: triggered-by-member with: github-token: ${{secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES}} diff --git a/.github/workflows/triage-issue-comments.yml b/.github/workflows/triage-issue-comments.yml index d9444d28fcc3..9b09bb20fe60 100644 --- a/.github/workflows/triage-issue-comments.yml +++ b/.github/workflows/triage-issue-comments.yml @@ -19,7 +19,7 @@ jobs: steps: - name: Check if the event originated from a team member - uses: actions/github-script@57c10d434ec3b7112b3635cd63771978bcfc50dc + uses: actions/github-script@6f00a0b667f9463337970371ccda9072ee86fb27 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 e3725ddcc1e8..fcf27a57b6e0 100644 --- a/.github/workflows/triage-unallowed-contributions.yml +++ b/.github/workflows/triage-unallowed-contributions.yml @@ -76,7 +76,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@57c10d434ec3b7112b3635cd63771978bcfc50dc + uses: actions/github-script@6f00a0b667f9463337970371ccda9072ee86fb27 with: script: | const badFilesArr = [