From 44d3c022389c7a6f011b743aef716586d4d56177 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Nov 2022 16:08:59 +0000 Subject: [PATCH] Bump actions/github-script Bumps [actions/github-script](https://github.com/actions/github-script) from 2b34a689ec86a68d8ab9478298f91d5401337b7d to 6.3.3. This release includes the previously tagged commit. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/2b34a689ec86a68d8ab9478298f91d5401337b7d...d556feaca394842dc55e4734bf3bb9f685482fa0) --- updated-dependencies: - dependency-name: actions/github-script dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- .github/workflows/automerge-dependencies.yml | 2 +- .github/workflows/check-for-spammy-issues.yml | 2 +- .../confirm-internal-staff-work-in-docs.yml | 2 +- .../workflows/copy-api-issue-to-internal.yml | 2 +- .../workflows/first-responder-docs-content.yml | 4 ++-- .github/workflows/hubber-contribution-help.yml | 2 +- .github/workflows/merged-notification.yml | 2 +- ...ove-existing-issues-to-the-correct-repo.yml | 2 +- .../move-new-issues-to-correct-docs-repo.yml | 2 +- .../move-reopened-issues-to-triage.yaml | 2 +- .../notify-when-maintainers-cannot-edit.yaml | 2 +- .github/workflows/os-ready-for-review.yml | 2 +- .github/workflows/prod-build-deploy.yml | 4 ++-- .github/workflows/repo-sync-stalls.yml | 2 +- .github/workflows/repo-sync.yml | 8 ++++---- .../workflows/staging-build-and-deploy-pr.yml | 2 +- .github/workflows/staging-deploy-pr.yml | 18 +++++++++--------- .../start-new-engineering-pr-workflow.yml | 2 +- .../transfer-api-issue-to-openapi.yml | 2 +- .../transfer-to-localization-repo.yml | 2 +- .github/workflows/triage-issue-comments.yml | 2 +- .../triage-unallowed-contributions.yml | 2 +- 22 files changed, 35 insertions(+), 35 deletions(-) diff --git a/.github/workflows/automerge-dependencies.yml b/.github/workflows/automerge-dependencies.yml index 31ccf83f0fc9..d4b7c9475166 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@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 env: PR_NUMBER: ${{ github.event.pull_request.number }} with: diff --git a/.github/workflows/check-for-spammy-issues.yml b/.github/workflows/check-for-spammy-issues.yml index b325dd08bd70..caf4ee4bd5e3 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@2b34a689ec86a68d8ab9478298f91d5401337b7d + - uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 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 81fa3788b5f4..3df048e0e670 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@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 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 13bac002f1c0..313a7052442a 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@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 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 2911440b2da2..d9f02bc28335 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@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 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@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 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 83a3ca6c1e72..bc832a465383 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@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 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 828a864c1df5..7c152d7af9ef 100644 --- a/.github/workflows/merged-notification.yml +++ b/.github/workflows/merged-notification.yml @@ -17,7 +17,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@2b34a689ec86a68d8ab9478298f91d5401337b7d + - uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 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 05b994a52574..ee936cc9fe4b 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@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 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 1c2c36282163..cb9c1a3266da 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@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 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 28b297639887..2f0e0b122922 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@2b34a689ec86a68d8ab9478298f91d5401337b7d + - uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 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 85edabb89b2b..2d159f0e31fc 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@2b34a689ec86a68d8ab9478298f91d5401337b7d + - uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 with: script: | const query = ` diff --git a/.github/workflows/os-ready-for-review.yml b/.github/workflows/os-ready-for-review.yml index 75d00c9d4d36..95278eb89b68 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@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 id: triggered-by-member with: github-token: ${{secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES}} diff --git a/.github/workflows/prod-build-deploy.yml b/.github/workflows/prod-build-deploy.yml index e8689c3e751c..0c5274fb3cf4 100644 --- a/.github/workflows/prod-build-deploy.yml +++ b/.github/workflows/prod-build-deploy.yml @@ -97,7 +97,7 @@ jobs: - name: Create a Heroku build source id: build-source - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 env: HEROKU_API_TOKEN: ${{ secrets.HEROKU_API_TOKEN }} with: @@ -152,7 +152,7 @@ jobs: run: .github/actions-scripts/prod-deploy.js - name: Mark the deployment as inactive if timed out - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 if: ${{ steps.deploy.outcome == 'cancelled' }} env: DEPLOYMENT_ID: ${{ steps.deploy.outputs.deploymentId }} diff --git a/.github/workflows/repo-sync-stalls.yml b/.github/workflows/repo-sync-stalls.yml index f23356765124..692b40cdfbed 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@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 with: script: | let pulls; diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index ee8ef065c136..d227f5252418 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@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 with: github-token: ${{ secrets.DOCS_BOT_SPAM_VISION }} script: | @@ -148,7 +148,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@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 with: script: | try { @@ -166,7 +166,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@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 with: github-token: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }} script: | @@ -215,7 +215,7 @@ jobs: - name: Check pull request file count after updating if: ${{ steps.find-pull-request.outputs.number }} - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 id: pr-files env: PR_NUMBER: ${{ steps.find-pull-request.outputs.number }} diff --git a/.github/workflows/staging-build-and-deploy-pr.yml b/.github/workflows/staging-build-and-deploy-pr.yml index 69cb8195e6b3..c37211268227 100644 --- a/.github/workflows/staging-build-and-deploy-pr.yml +++ b/.github/workflows/staging-build-and-deploy-pr.yml @@ -96,7 +96,7 @@ jobs: - name: Create a Heroku build source id: build-source - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 env: HEROKU_API_TOKEN: ${{ secrets.HEROKU_API_TOKEN }} with: diff --git a/.github/workflows/staging-deploy-pr.yml b/.github/workflows/staging-deploy-pr.yml index f4c35296e7df..be48ffaaedce 100644 --- a/.github/workflows/staging-deploy-pr.yml +++ b/.github/workflows/staging-deploy-pr.yml @@ -58,7 +58,7 @@ jobs: steps: - name: Find the originating pull request id: pr - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 env: BUILD_ACTIONS_RUN_ID: ${{ env.BUILD_ACTIONS_RUN_ID }} with: @@ -169,7 +169,7 @@ jobs: steps: - name: Verify build workflow run was not cancelled id: check-workflow-run - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 env: BUILD_ACTIONS_RUN_ID: ${{ env.BUILD_ACTIONS_RUN_ID }} with: @@ -218,7 +218,7 @@ jobs: steps: - name: Check pull request state id: check-pr - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 env: PR_NUMBER: ${{ needs.pr-metadata.outputs.number }} with: @@ -267,7 +267,7 @@ jobs: source_blob_url: ${{ steps.build-source.outputs.download_url }} steps: - name: Create initial status - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 env: CONTEXT_NAME: ${{ env.CONTEXT_NAME }} ACTIONS_RUN_LOG: ${{ env.ACTIONS_RUN_LOG }} @@ -321,7 +321,7 @@ jobs: - name: Create a Heroku build source id: build-source - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 env: HEROKU_API_TOKEN: ${{ secrets.HEROKU_API_TOKEN }} with: @@ -362,7 +362,7 @@ jobs: --data-binary @app.tar.gz - name: Create failure status - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 if: ${{ failure() }} env: CONTEXT_NAME: ${{ env.CONTEXT_NAME }} @@ -405,7 +405,7 @@ jobs: steps: - name: Check pull request state id: check-pr - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 env: PR_NUMBER: ${{ needs.pr-metadata.outputs.number }} with: @@ -463,7 +463,7 @@ jobs: run: .github/actions-scripts/staging-commit-status-success.js - name: Mark the deployment as inactive if timed out - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 if: ${{ steps.deploy.outcome == 'cancelled' }} env: DEPLOYMENT_ID: ${{ steps.deploy.outputs.deploymentId }} @@ -494,7 +494,7 @@ jobs: console.log('⏲️ Deployment status: error - The deployment timed out...') - name: Create failure status - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 if: ${{ failure() }} env: CONTEXT_NAME: ${{ env.CONTEXT_NAME }} diff --git a/.github/workflows/start-new-engineering-pr-workflow.yml b/.github/workflows/start-new-engineering-pr-workflow.yml index 5290162e762b..763d3a3bc8dd 100644 --- a/.github/workflows/start-new-engineering-pr-workflow.yml +++ b/.github/workflows/start-new-engineering-pr-workflow.yml @@ -22,7 +22,7 @@ jobs: DRAFT_COLUMN_ID: 10095775 REGULAR_COLUMN_ID: 10095779 steps: - - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + - uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 continue-on-error: true with: github-token: ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }} diff --git a/.github/workflows/transfer-api-issue-to-openapi.yml b/.github/workflows/transfer-api-issue-to-openapi.yml index b7875594cdc5..f1470caecd28 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@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 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 a7fd81d4c380..072081562d7f 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@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 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 d99bc0973bc8..2bb368520788 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@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 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 8d0bc4244216..c8083eaff867 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@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 with: script: | const badFilesArr = [