1
0
mirror of synced 2025-12-30 03:01:36 -05:00

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:
dependabot[bot]
2023-11-20 19:36:44 +00:00
committed by GitHub
parent 8a6ee6f3ed
commit 6ff1b03d59
20 changed files with 22 additions and 22 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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@98814c53be79b1d30f795b907e553d8679345975
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
id: triggered-by-member
with:
github-token: ${{secrets.DOCS_BOT_PAT_WORKFLOW_READORG}}

View File

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

View File

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