1
0
mirror of synced 2026-01-07 18:01:41 -05:00

Bump actions/github-script (#24563)

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](2b34a689ec...e3cbab99d3)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
This commit is contained in:
dependabot[bot]
2022-01-26 16:59:51 +00:00
committed by GitHub
parent 67f00f4e0f
commit 4d3c203a4f
23 changed files with 35 additions and 35 deletions

View File

@@ -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:

View File

@@ -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: |

View File

@@ -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:

View File

@@ -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}}

View File

@@ -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}}
@@ -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

View File

@@ -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: |

View File

@@ -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({

View File

@@ -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 }}

View File

@@ -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 }}

View File

@@ -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;

View File

@@ -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 = `

View File

@@ -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}}

View File

@@ -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:

View File

@@ -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:
@@ -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 }}

View File

@@ -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;

View File

@@ -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: |
@@ -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 {
@@ -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: |
@@ -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 }}

View File

@@ -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:

View File

@@ -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:
@@ -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:
@@ -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 }}
@@ -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:
@@ -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 }}
@@ -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:
@@ -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 }}
@@ -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 }}

View File

@@ -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 }}

View File

@@ -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}}

View File

@@ -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}}

View File

@@ -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

View File

@@ -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 = [