Bump actions/github-script from 6.4.0 to 7.0.0 (#46199)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Robert Sese <734194+rsese@users.noreply.github.com>
This commit is contained in:
@@ -50,7 +50,7 @@ jobs:
|
||||
|
||||
# Because we get far too much spam ;_;
|
||||
- name: Lock conversations
|
||||
uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975
|
||||
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
||||
env:
|
||||
PR_NUMBER: ${{ github.event.pull_request.number }}
|
||||
with:
|
||||
|
||||
@@ -116,7 +116,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@98814c53be79b1d30f795b907e553d8679345975
|
||||
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
||||
env:
|
||||
BRANCH_NAME: ${{ env.BRANCH_NAME }}
|
||||
with:
|
||||
@@ -157,7 +157,7 @@ jobs:
|
||||
run: src/early-access/scripts/merge-early-access.sh
|
||||
|
||||
- name: Determine if we should include translations?
|
||||
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410
|
||||
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
||||
id: with-translations
|
||||
with:
|
||||
script: |
|
||||
|
||||
@@ -17,7 +17,7 @@ jobs:
|
||||
if: github.repository == 'github/docs'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975
|
||||
- uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
||||
with:
|
||||
github-token: ${{ secrets.DOCS_BOT_PAT_WORKFLOW_READORG }}
|
||||
script: |
|
||||
|
||||
@@ -22,7 +22,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Close pull request if unwanted
|
||||
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410
|
||||
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
||||
with:
|
||||
github-token: ${{ secrets.DOCS_BOT_PAT_WRITEORG_PROJECT }}
|
||||
script: |
|
||||
|
||||
@@ -24,7 +24,7 @@ jobs:
|
||||
if: github.repository == 'github/docs' && github.actor != 'docs-bot'
|
||||
steps:
|
||||
- id: membership_check
|
||||
uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975
|
||||
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
||||
env:
|
||||
TEAM_CONTENT_REPO: ${{ secrets.TEAM_CONTENT_REPO }}
|
||||
with:
|
||||
|
||||
@@ -19,7 +19,7 @@ jobs:
|
||||
if: (github.event.label.name == 'rest-description' || github.event.label.name == 'graphql-description' || github.event.label.name == 'webhook-description') && github.repository == 'github/docs'
|
||||
steps:
|
||||
- name: Check if this run was triggered by a member of the docs team
|
||||
uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975
|
||||
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
||||
id: triggered-by-member
|
||||
with:
|
||||
github-token: ${{secrets.DOCS_BOT_PAT_WORKFLOW_READORG}}
|
||||
|
||||
@@ -27,7 +27,7 @@ jobs:
|
||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
||||
|
||||
- name: Check if the event originated from a team member
|
||||
uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975
|
||||
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
||||
id: set-result
|
||||
with:
|
||||
github-token: ${{secrets.DOCS_BOT_PAT_WORKFLOW_READORG}}
|
||||
@@ -75,7 +75,7 @@ jobs:
|
||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
||||
|
||||
- name: Remove card from project
|
||||
uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975
|
||||
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
||||
with:
|
||||
github-token: ${{secrets.DOCS_BOT_PAT_WORKFLOW_READORG}}
|
||||
result-encoding: string
|
||||
|
||||
@@ -25,7 +25,7 @@ jobs:
|
||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
||||
|
||||
- id: membership_check
|
||||
uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975
|
||||
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
||||
with:
|
||||
github-token: ${{ secrets.DOCS_BOT_PAT_WORKFLOW_READORG }}
|
||||
script: |
|
||||
|
||||
2
.github/workflows/merged-notification.yml
vendored
2
.github/workflows/merged-notification.yml
vendored
@@ -20,7 +20,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 != 'docs-bot'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975
|
||||
- uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
||||
with:
|
||||
script: |
|
||||
github.rest.issues.createComment({
|
||||
|
||||
@@ -16,7 +16,7 @@ jobs:
|
||||
if: github.repository == 'github/docs-internal'
|
||||
steps:
|
||||
- id: move_to_correct_repo
|
||||
uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975
|
||||
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
||||
env:
|
||||
TEAM_ENGINEERING_REPO: ${{ secrets.TEAM_ENGINEERING_REPO }}
|
||||
TEAM_CONTENT_REPO: ${{ secrets.TEAM_CONTENT_REPO }}
|
||||
|
||||
@@ -21,7 +21,7 @@ jobs:
|
||||
if: github.repository == 'github/docs-internal'
|
||||
steps:
|
||||
- id: move_to_correct_repo
|
||||
uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975
|
||||
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
||||
env:
|
||||
TEAM_ENGINEERING_REPO: ${{ secrets.TEAM_ENGINEERING_REPO }}
|
||||
TEAM_CONTENT_REPO: ${{ secrets.TEAM_CONTENT_REPO }}
|
||||
|
||||
@@ -18,7 +18,7 @@ jobs:
|
||||
if: github.repository == 'github/docs'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975
|
||||
- uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
||||
with:
|
||||
script: |
|
||||
const issueNumber = context.issue.number;
|
||||
|
||||
@@ -19,7 +19,7 @@ jobs:
|
||||
if: github.repository == 'github/docs'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975
|
||||
- uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
||||
with:
|
||||
script: |
|
||||
const query = `
|
||||
|
||||
2
.github/workflows/os-ready-for-review.yml
vendored
2
.github/workflows/os-ready-for-review.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
||||
|
||||
- name: Check if this run was triggered by a member of the docs team
|
||||
uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975
|
||||
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
||||
id: triggered-by-member
|
||||
with:
|
||||
github-token: ${{secrets.DOCS_BOT_PAT_WORKFLOW_READORG}}
|
||||
|
||||
2
.github/workflows/repo-sync-stalls.yml
vendored
2
.github/workflows/repo-sync-stalls.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check if repo sync is stalled
|
||||
uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975
|
||||
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
||||
with:
|
||||
script: |
|
||||
let pulls;
|
||||
|
||||
2
.github/workflows/repo-sync.yml
vendored
2
.github/workflows/repo-sync.yml
vendored
@@ -34,7 +34,7 @@ jobs:
|
||||
github_token: ${{ secrets.DOCS_BOT_PAT_WORKFLOW }}
|
||||
|
||||
- name: Ship pull request
|
||||
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410
|
||||
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
||||
with:
|
||||
github-token: ${{ secrets.DOCS_BOT_PAT_WORKFLOW }}
|
||||
result-encoding: string
|
||||
|
||||
@@ -45,7 +45,7 @@ jobs:
|
||||
outputs:
|
||||
matrix: ${{ steps.set-matrix.outputs.result }}
|
||||
steps:
|
||||
- uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
|
||||
- uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 # v7.0.0
|
||||
id: set-matrix
|
||||
with:
|
||||
script: |
|
||||
|
||||
@@ -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@98814c53be79b1d30f795b907e553d8679345975
|
||||
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
||||
id: triggered-by-member
|
||||
with:
|
||||
github-token: ${{secrets.DOCS_BOT_PAT_WORKFLOW_READORG}}
|
||||
|
||||
2
.github/workflows/triage-issue-comments.yml
vendored
2
.github/workflows/triage-issue-comments.yml
vendored
@@ -20,7 +20,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Check if the event originated from a team member
|
||||
uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975
|
||||
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
||||
id: is-internal-contributor
|
||||
with:
|
||||
result-encoding: string
|
||||
|
||||
@@ -68,7 +68,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@98814c53be79b1d30f795b907e553d8679345975
|
||||
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
||||
with:
|
||||
script: |
|
||||
const badFilesArr = [
|
||||
|
||||
Reference in New Issue
Block a user