From 64f522b64fd26a5a2a648097158936eb8d149031 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 1 Oct 2022 05:05:15 +0000 Subject: [PATCH] Bump actions/github-script Bumps [actions/github-script](https://github.com/actions/github-script) from 2b34a689ec86a68d8ab9478298f91d5401337b7d to 6.3.1. 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...7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd) --- 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 +- .../content-changes-table-comment.yml | 2 +- .../workflows/copy-api-issue-to-internal.yml | 2 +- .../first-responder-docs-content.yml | 4 ++-- .../workflows/hubber-contribution-help.yml | 2 +- .github/workflows/merged-notification.yml | 2 +- ...ve-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 | 8 ++++---- .github/workflows/repo-sync-stalls.yml | 2 +- .github/workflows/repo-sync.yml | 8 ++++---- .github/workflows/staging-deploy-pr.yml | 20 +++++++++---------- .github/workflows/staging-undeploy-pr.yml | 2 +- .../start-new-engineering-pr-workflow.yml | 2 +- .../transfer-api-issue-to-openapi.yml | 2 +- .github/workflows/translations.yml | 2 +- .github/workflows/triage-issue-comments.yml | 2 +- .../triage-unallowed-contributions.yml | 2 +- 23 files changed, 39 insertions(+), 39 deletions(-) diff --git a/.github/workflows/automerge-dependencies.yml b/.github/workflows/automerge-dependencies.yml index 31ccf83f0fc9..5873570e4963 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@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd 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 07eae96f2347..25325a196185 100644 --- a/.github/workflows/check-for-spammy-issues.yml +++ b/.github/workflows/check-for-spammy-issues.yml @@ -13,7 +13,7 @@ jobs: if: github.repository == 'github/docs' runs-on: ubuntu-latest steps: - - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + - uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd 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 17cebab5ae9d..dbe467782aec 100644 --- a/.github/workflows/confirm-internal-staff-work-in-docs.yml +++ b/.github/workflows/confirm-internal-staff-work-in-docs.yml @@ -20,7 +20,7 @@ jobs: if: github.repository == 'github/docs' && github.actor != 'docs-bot' steps: - id: membership_check - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd env: TEAM_CONTENT_REPO: ${{ secrets.TEAM_CONTENT_REPO }} with: diff --git a/.github/workflows/content-changes-table-comment.yml b/.github/workflows/content-changes-table-comment.yml index 60125dcbcd8a..f8a259126dd8 100644 --- a/.github/workflows/content-changes-table-comment.yml +++ b/.github/workflows/content-changes-table-comment.yml @@ -52,7 +52,7 @@ jobs: npm install --no-save --include=optional esm - name: Get changes table - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd id: changes env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/copy-api-issue-to-internal.yml b/.github/workflows/copy-api-issue-to-internal.yml index f7cd49066650..f2ad131bcbb1 100644 --- a/.github/workflows/copy-api-issue-to-internal.yml +++ b/.github/workflows/copy-api-issue-to-internal.yml @@ -16,7 +16,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@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd 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 49ebdeb038fa..5e056ffdf120 100644 --- a/.github/workflows/first-responder-docs-content.yml +++ b/.github/workflows/first-responder-docs-content.yml @@ -21,7 +21,7 @@ jobs: steps: - name: Check if the event originated from a team member - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd id: set-result with: github-token: ${{secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES}} @@ -68,7 +68,7 @@ jobs: steps: - name: Remove card from project - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd 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 ec1eafe32996..8a6a8184196c 100644 --- a/.github/workflows/hubber-contribution-help.yml +++ b/.github/workflows/hubber-contribution-help.yml @@ -20,7 +20,7 @@ jobs: pull-requests: write steps: - id: membership_check - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd 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 7e82935e7cac..d8a746876558 100644 --- a/.github/workflows/merged-notification.yml +++ b/.github/workflows/merged-notification.yml @@ -14,7 +14,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@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd 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 384cc235bc1d..2204311cf183 100644 --- a/.github/workflows/move-existing-issues-to-the-correct-repo.yml +++ b/.github/workflows/move-existing-issues-to-the-correct-repo.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - id: move_to_correct_repo - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd 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 acabc4308882..f34c72c0fd5e 100644 --- a/.github/workflows/move-new-issues-to-correct-docs-repo.yml +++ b/.github/workflows/move-new-issues-to-correct-docs-repo.yml @@ -18,7 +18,7 @@ jobs: if: github.repository == 'github/docs-internal' steps: - id: move_to_correct_repo - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd 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 925ab443ce29..fbe5f914a6ff 100644 --- a/.github/workflows/move-reopened-issues-to-triage.yaml +++ b/.github/workflows/move-reopened-issues-to-triage.yaml @@ -14,7 +14,7 @@ jobs: if: github.repository == 'github/docs' runs-on: ubuntu-latest steps: - - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + - uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd with: github-token: ${{ github.token }} script: | diff --git a/.github/workflows/notify-when-maintainers-cannot-edit.yaml b/.github/workflows/notify-when-maintainers-cannot-edit.yaml index 85edabb89b2b..63b5cd2e8224 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@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd with: script: | const query = ` diff --git a/.github/workflows/os-ready-for-review.yml b/.github/workflows/os-ready-for-review.yml index b668f7af35e1..0fbc0aa0ba5b 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@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd 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 969e7264ead0..c66cf907f01b 100644 --- a/.github/workflows/prod-build-deploy.yml +++ b/.github/workflows/prod-build-deploy.yml @@ -89,7 +89,7 @@ jobs: - name: Create a Heroku build source id: build-source - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd env: HEROKU_API_TOKEN: ${{ secrets.HEROKU_API_TOKEN }} with: @@ -134,7 +134,7 @@ jobs: - name: Deploy id: deploy - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} HEROKU_API_TOKEN: ${{ secrets.HEROKU_API_TOKEN }} @@ -196,7 +196,7 @@ jobs: } - name: Mark the deployment as inactive if timed out - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd if: ${{ steps.deploy.outcome == 'cancelled' }} env: DEPLOYMENT_ID: ${{ steps.deploy.outputs.deploymentId }} @@ -227,7 +227,7 @@ jobs: console.log('⏲️ Deployment status: error - The deployment timed out...') - name: Purge Fastly edge cache - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd env: FASTLY_TOKEN: ${{ secrets.FASTLY_TOKEN }} FASTLY_SERVICE_ID: ${{ secrets.FASTLY_SERVICE_ID }} diff --git a/.github/workflows/repo-sync-stalls.yml b/.github/workflows/repo-sync-stalls.yml index 2d5c7029c68f..eb3d10c14db1 100644 --- a/.github/workflows/repo-sync-stalls.yml +++ b/.github/workflows/repo-sync-stalls.yml @@ -15,7 +15,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@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd with: github-token: ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }} script: | diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index 24eecc753a3b..3a2b76012c35 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -37,7 +37,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@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd with: github-token: ${{ secrets.DOCS_BOT_SPAM_VISION }} script: | @@ -149,7 +149,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@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd with: script: | try { @@ -167,7 +167,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@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd with: github-token: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }} script: | @@ -216,7 +216,7 @@ jobs: - name: Enable GitHub auto-merge if: ${{ steps.find-pull-request.outputs.number }} - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd with: github-token: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }} script: | diff --git a/.github/workflows/staging-deploy-pr.yml b/.github/workflows/staging-deploy-pr.yml index 4a8dda029bf5..7acbfdd14fad 100644 --- a/.github/workflows/staging-deploy-pr.yml +++ b/.github/workflows/staging-deploy-pr.yml @@ -55,7 +55,7 @@ jobs: steps: - name: Find the originating pull request id: pr - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd env: BUILD_ACTIONS_RUN_ID: ${{ env.BUILD_ACTIONS_RUN_ID }} with: @@ -163,7 +163,7 @@ jobs: steps: - name: Verify build workflow run was not cancelled id: check-workflow-run - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd env: BUILD_ACTIONS_RUN_ID: ${{ env.BUILD_ACTIONS_RUN_ID }} with: @@ -213,7 +213,7 @@ jobs: steps: - name: Check pull request state id: check-pr - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd env: PR_NUMBER: ${{ needs.pr-metadata.outputs.number }} with: @@ -262,7 +262,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@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd env: CONTEXT_NAME: ${{ env.CONTEXT_NAME }} ACTIONS_RUN_LOG: ${{ env.ACTIONS_RUN_LOG }} @@ -347,7 +347,7 @@ jobs: - name: Create a Heroku build source id: build-source - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd env: HEROKU_API_TOKEN: ${{ secrets.HEROKU_API_TOKEN }} with: @@ -388,7 +388,7 @@ jobs: --data-binary @app.tar.gz - name: Create failure status - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd if: ${{ failure() }} env: CONTEXT_NAME: ${{ env.CONTEXT_NAME }} @@ -431,7 +431,7 @@ jobs: steps: - name: Check pull request state id: check-pr - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd env: PR_NUMBER: ${{ needs.pr-metadata.outputs.number }} with: @@ -472,7 +472,7 @@ jobs: - name: Deploy id: deploy - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} HEROKU_API_TOKEN: ${{ secrets.HEROKU_API_TOKEN }} @@ -549,7 +549,7 @@ jobs: } - name: Mark the deployment as inactive if timed out - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd if: ${{ steps.deploy.outcome == 'cancelled' }} env: DEPLOYMENT_ID: ${{ steps.deploy.outputs.deploymentId }} @@ -580,7 +580,7 @@ jobs: console.log('⏲️ Deployment status: error - The deployment timed out...') - name: Create failure status - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd if: ${{ failure() }} env: CONTEXT_NAME: ${{ env.CONTEXT_NAME }} diff --git a/.github/workflows/staging-undeploy-pr.yml b/.github/workflows/staging-undeploy-pr.yml index 3244f37afb6e..2d880e72e582 100644 --- a/.github/workflows/staging-undeploy-pr.yml +++ b/.github/workflows/staging-undeploy-pr.yml @@ -73,7 +73,7 @@ jobs: run: npm install --no-save --include=optional esm - name: Undeploy - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} HEROKU_API_TOKEN: ${{ secrets.HEROKU_API_TOKEN }} diff --git a/.github/workflows/start-new-engineering-pr-workflow.yml b/.github/workflows/start-new-engineering-pr-workflow.yml index 352b48dfa9e5..ab16d0f1ecb9 100644 --- a/.github/workflows/start-new-engineering-pr-workflow.yml +++ b/.github/workflows/start-new-engineering-pr-workflow.yml @@ -19,7 +19,7 @@ jobs: DRAFT_COLUMN_ID: 10095775 REGULAR_COLUMN_ID: 10095779 steps: - - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + - uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd 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 b03c55e3715d..8181335512ec 100644 --- a/.github/workflows/transfer-api-issue-to-openapi.yml +++ b/.github/workflows/transfer-api-issue-to-openapi.yml @@ -16,7 +16,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@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd id: triggered-by-member with: github-token: ${{secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES}} diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml index 62b26084d92e..2872f8c90068 100644 --- a/.github/workflows/translations.yml +++ b/.github/workflows/translations.yml @@ -34,7 +34,7 @@ jobs: state: open - if: ${{ steps.pr.outputs.number }} name: Check if already labeled - uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd id: has-label with: script: | diff --git a/.github/workflows/triage-issue-comments.yml b/.github/workflows/triage-issue-comments.yml index 0d06cd78257e..f516ded079e9 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@2b34a689ec86a68d8ab9478298f91d5401337b7d + uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd id: is-internal-contributor with: github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/triage-unallowed-contributions.yml b/.github/workflows/triage-unallowed-contributions.yml index 30e1d18494aa..f6be9889a47a 100644 --- a/.github/workflows/triage-unallowed-contributions.yml +++ b/.github/workflows/triage-unallowed-contributions.yml @@ -73,7 +73,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@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd with: github-token: ${{ secrets.GITHUB_TOKEN }} script: |