Skip to content

Commit

Permalink
Bump actions/github-script (github#24563)
Browse files Browse the repository at this point in the history
Bumps [actions/github-script](https://github.com/actions/github-script) from 2b34a689ec86a68d8ab9478298f91d5401337b7d to 5.1.0. This release includes the previously tagged commit.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](actions/github-script@2b34a68...e3cbab9)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <[email protected]>
  • Loading branch information
dependabot[bot] and heiskr authored Jan 26, 2022
1 parent 67f00f4 commit 4d3c203
Show file tree
Hide file tree
Showing 23 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/automerge-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
# Because we get far too much spam ;_;
- name: Lock conversations
uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
uses: actions/github-script@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
env:
PR_NUMBER: ${{ github.event.pull_request.number }}
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-for-spammy-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
if: github.repository == 'github/docs'
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
- uses: actions/github-script@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
with:
github-token: ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }}
script: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/confirm-internal-staff-work-in-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
env:
TEAM_CONTENT_REPO: ${{ secrets.TEAM_CONTENT_REPO }}
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/copy-api-issue-to-internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
id: triggered-by-member
with:
github-token: ${{secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES}}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/first-responder-docs-content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
id: set-result
with:
github-token: ${{secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES}}
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:

steps:
- name: Remove card from project
uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
uses: actions/github-script@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
with:
github-token: ${{secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES}}
result-encoding: string
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hubber-contribution-help.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- id: membership_check
uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
uses: actions/github-script@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
with:
github-token: ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }}
script: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/merged-notification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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@2b34a689ec86a68d8ab9478298f91d5401337b7d
- uses: actions/github-script@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
with:
script: |
github.issues.createComment({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- id: move_to_correct_repo
uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
uses: actions/github-script@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
env:
TEAM_ENGINEERING_REPO: ${{ secrets.TEAM_ENGINEERING_REPO }}
TEAM_CONTENT_REPO: ${{ secrets.TEAM_CONTENT_REPO }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/move-new-issues-to-correct-docs-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
env:
TEAM_ENGINEERING_REPO: ${{ secrets.TEAM_ENGINEERING_REPO }}
TEAM_CONTENT_REPO: ${{ secrets.TEAM_CONTENT_REPO }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/move-reopened-issues-to-triage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
if: github.repository == 'github/docs'
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
- uses: actions/github-script@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
with:
script: |
const issueNumber = context.issue.number;
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/notify-when-maintainers-cannot-edit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
if: github.repository == 'github/docs'
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
- uses: actions/github-script@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
with:
script: |
const query = `
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/os-ready-for-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
id: triggered-by-member
with:
github-token: ${{secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prod-build-deploy-azure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
# Watch preview slot instances to see when all the instances are ready
- name: Check that preview slot is ready
uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
uses: actions/github-script@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
env:
CHECK_INTERVAL: 10000
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prod-build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:

- name: Create a Heroku build source
id: build-source
uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
uses: actions/github-script@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
env:
HEROKU_API_TOKEN: ${{ secrets.HEROKU_API_TOKEN }}
with:
Expand Down Expand Up @@ -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@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
if: ${{ steps.deploy.outcome == 'cancelled' }}
env:
DEPLOYMENT_ID: ${{ steps.deploy.outputs.deploymentId }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/repo-sync-stalls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
with:
script: |
let pulls;
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/repo-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
with:
github-token: ${{ secrets.DOCS_BOT_SPAM_VISION }}
script: |
Expand Down Expand Up @@ -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@2b34a689ec86a68d8ab9478298f91d5401337b7d
uses: actions/github-script@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
with:
script: |
try {
Expand All @@ -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@2b34a689ec86a68d8ab9478298f91d5401337b7d
uses: actions/github-script@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
with:
github-token: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}
script: |
Expand Down Expand Up @@ -214,7 +214,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@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
id: pr-files
env:
PR_NUMBER: ${{ steps.find-pull-request.outputs.number }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staging-build-and-deploy-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:

- name: Create a Heroku build source
id: build-source
uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
uses: actions/github-script@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
env:
HEROKU_API_TOKEN: ${{ secrets.HEROKU_API_TOKEN }}
with:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/staging-deploy-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
steps:
- name: Find the originating pull request
id: pr
uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
uses: actions/github-script@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
env:
BUILD_ACTIONS_RUN_ID: ${{ env.BUILD_ACTIONS_RUN_ID }}
with:
Expand Down Expand Up @@ -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@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
env:
BUILD_ACTIONS_RUN_ID: ${{ env.BUILD_ACTIONS_RUN_ID }}
with:
Expand Down Expand Up @@ -211,7 +211,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@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
env:
CONTEXT_NAME: ${{ env.CONTEXT_NAME }}
ACTIONS_RUN_LOG: ${{ env.ACTIONS_RUN_LOG }}
Expand Down Expand Up @@ -265,7 +265,7 @@ jobs:

- name: Create a Heroku build source
id: build-source
uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
uses: actions/github-script@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
env:
HEROKU_API_TOKEN: ${{ secrets.HEROKU_API_TOKEN }}
with:
Expand Down Expand Up @@ -306,7 +306,7 @@ jobs:
--data-binary @app.tar.gz
- name: Create failure status
uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
uses: actions/github-script@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
if: ${{ failure() }}
env:
CONTEXT_NAME: ${{ env.CONTEXT_NAME }}
Expand Down Expand Up @@ -348,7 +348,7 @@ jobs:
steps:
- name: Check pull request state
id: check-pr
uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
uses: actions/github-script@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
env:
PR_NUMBER: ${{ needs.pr-metadata.outputs.number }}
with:
Expand Down Expand Up @@ -405,7 +405,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@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
if: ${{ steps.deploy.outcome == 'cancelled' }}
env:
DEPLOYMENT_ID: ${{ steps.deploy.outputs.deploymentId }}
Expand Down Expand Up @@ -436,7 +436,7 @@ jobs:
console.log('⏲️ Deployment status: error - The deployment timed out...')
- name: Create failure status
uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
uses: actions/github-script@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
if: ${{ failure() }}
env:
CONTEXT_NAME: ${{ env.CONTEXT_NAME }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/start-new-engineering-pr-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
DRAFT_COLUMN_ID: 10095775
REGULAR_COLUMN_ID: 10095779
steps:
- uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
- uses: actions/github-script@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
continue-on-error: true
with:
github-token: ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/transfer-api-issue-to-openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
id: triggered-by-member
with:
github-token: ${{secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/transfer-to-localization-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
id: triggered-by-member
with:
github-token: ${{secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/triage-issue-comments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
id: is-internal-contributor
with:
result-encoding: string
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/triage-unallowed-contributions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
with:
script: |
const badFilesArr = [
Expand Down

0 comments on commit 4d3c203

Please sign in to comment.