1
0
mirror of synced 2025-12-19 18:10:59 -05:00

Bump actions/github-script from 7.0.0 to 8.0.0 (#57474)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot]
2025-09-10 00:08:10 +00:00
committed by GitHub
parent 8ee83b5a04
commit febbc5fcff
18 changed files with 22 additions and 22 deletions

View File

@@ -50,7 +50,7 @@ jobs:
# Because we get far too much spam ;_; # Because we get far too much spam ;_;
- name: Lock conversations - name: Lock conversations
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
env: env:
PR_NUMBER: ${{ github.event.pull_request.number }} PR_NUMBER: ${{ github.event.pull_request.number }}
with: with:

View File

@@ -20,7 +20,7 @@ jobs:
steps: steps:
- name: Check if PR author is in docs-content team - name: Check if PR author is in docs-content team
id: check_team id: check_team
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with: with:
github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} github-token: ${{ secrets.DOCS_BOT_PAT_BASE }}
script: | script: |
@@ -41,7 +41,7 @@ jobs:
if: env.CONTINUE_WORKFLOW == 'true' if: env.CONTINUE_WORKFLOW == 'true'
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with: with:
github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} github-token: ${{ secrets.DOCS_BOT_PAT_BASE }}
script: | script: |

View File

@@ -17,7 +17,7 @@ jobs:
if: github.repository == 'github/docs' if: github.repository == 'github/docs'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
with: with:
github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} github-token: ${{ secrets.DOCS_BOT_PAT_BASE }}
script: | script: |

View File

@@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Close pull request if unwanted - name: Close pull request if unwanted
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
with: with:
github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} github-token: ${{ secrets.DOCS_BOT_PAT_BASE }}
script: | script: |

View File

@@ -24,7 +24,7 @@ jobs:
if: github.repository == 'github/docs' && github.actor != 'docs-bot' if: github.repository == 'github/docs' && github.actor != 'docs-bot'
steps: steps:
- id: membership_check - id: membership_check
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
env: env:
TEAM_CONTENT_REPO: ${{ secrets.TEAM_CONTENT_REPO }} TEAM_CONTENT_REPO: ${{ secrets.TEAM_CONTENT_REPO }}
with: with:

View File

@@ -19,7 +19,7 @@ jobs:
if: github.event.label.name == 'fix-internally' && github.repository == 'github/docs' if: github.event.label.name == 'fix-internally' && github.repository == 'github/docs'
steps: steps:
- name: Check if this run was triggered by a member of the docs team - name: Check if this run was triggered by a member of the docs team
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
id: triggered-by-member id: triggered-by-member
with: with:
github-token: ${{secrets.DOCS_BOT_PAT_BASE}} github-token: ${{secrets.DOCS_BOT_PAT_BASE}}

View File

@@ -34,7 +34,7 @@ jobs:
- name: Check that the user belongs to the github org - name: Check that the user belongs to the github org
id: hubber_check id: hubber_check
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
with: with:
github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} github-token: ${{ secrets.DOCS_BOT_PAT_BASE }}
script: | script: |
@@ -105,7 +105,7 @@ jobs:
- name: Create a pull request - name: Create a pull request
if: env.CONTINUE_WORKFLOW == 'true' if: env.CONTINUE_WORKFLOW == 'true'
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
id: create_pull_request id: create_pull_request
with: with:
github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} github-token: ${{ secrets.DOCS_BOT_PAT_BASE }}
@@ -124,7 +124,7 @@ jobs:
- name: Add 'ready-for-doc-review' label to PR - name: Add 'ready-for-doc-review' label to PR
if: env.CONTINUE_WORKFLOW == 'true' if: env.CONTINUE_WORKFLOW == 'true'
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
env: env:
# Get the number of the PR that was just created: # Get the number of the PR that was just created:
PULL_REQUEST_NUMBER: ${{ steps.create_pull_request.outputs.pull-request-number }} PULL_REQUEST_NUMBER: ${{ steps.create_pull_request.outputs.pull-request-number }}
@@ -140,7 +140,7 @@ jobs:
- name: Assign PR to commenter - name: Assign PR to commenter
if: env.CONTINUE_WORKFLOW == 'true' if: env.CONTINUE_WORKFLOW == 'true'
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
env: env:
# Reuse the PR number captured earlier # Reuse the PR number captured earlier
PULL_REQUEST_NUMBER: ${{ steps.create_pull_request.outputs.pull-request-number }} PULL_REQUEST_NUMBER: ${{ steps.create_pull_request.outputs.pull-request-number }}

View File

@@ -27,7 +27,7 @@ jobs:
uses: actions/checkout@v5 uses: actions/checkout@v5
- name: Check if the event originated from a team member - name: Check if the event originated from a team member
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
id: check-membership id: check-membership
with: with:
github-token: ${{secrets.DOCS_BOT_PAT_BASE}} github-token: ${{secrets.DOCS_BOT_PAT_BASE}}

View File

@@ -26,7 +26,7 @@ jobs:
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- id: membership_check - id: membership_check
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
with: with:
github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} github-token: ${{ secrets.DOCS_BOT_PAT_BASE }}
script: | script: |

View File

@@ -45,7 +45,7 @@ jobs:
outputs: outputs:
matrix: ${{ steps.set-matrix.outputs.result }} matrix: ${{ steps.set-matrix.outputs.result }}
steps: steps:
- uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 # v7.0.0 - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
id: set-matrix id: set-matrix
with: with:
script: | 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' 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 runs-on: ubuntu-latest
steps: steps:
- uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
with: with:
script: | script: |
github.rest.issues.createComment({ github.rest.issues.createComment({

View File

@@ -16,7 +16,7 @@ jobs:
if: github.repository == 'github/docs-internal' if: github.repository == 'github/docs-internal'
steps: steps:
- id: move_to_correct_repo - id: move_to_correct_repo
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
env: env:
TEAM_ENGINEERING_REPO: ${{ secrets.TEAM_ENGINEERING_REPO }} TEAM_ENGINEERING_REPO: ${{ secrets.TEAM_ENGINEERING_REPO }}
TEAM_CONTENT_REPO: ${{ secrets.TEAM_CONTENT_REPO }} TEAM_CONTENT_REPO: ${{ secrets.TEAM_CONTENT_REPO }}

View File

@@ -18,7 +18,7 @@ jobs:
if: github.repository == 'github/docs' if: github.repository == 'github/docs'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
with: with:
script: | script: |
const issueNumber = context.issue.number; const issueNumber = context.issue.number;

View File

@@ -19,7 +19,7 @@ jobs:
if: github.repository == 'github/docs' if: github.repository == 'github/docs'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
with: with:
script: | script: |
const query = ` const query = `

View File

@@ -23,7 +23,7 @@ jobs:
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Check if this run was triggered by a member of the docs team - name: Check if this run was triggered by a member of the docs team
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
id: triggered-by-member id: triggered-by-member
with: with:
github-token: ${{secrets.DOCS_BOT_PAT_BASE}} github-token: ${{secrets.DOCS_BOT_PAT_BASE}}

View File

@@ -34,7 +34,7 @@ jobs:
github_token: ${{ secrets.DOCS_BOT_PAT_REPO_SYNC }} github_token: ${{ secrets.DOCS_BOT_PAT_REPO_SYNC }}
- name: Ship pull request - name: Ship pull request
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
with: with:
github-token: ${{ secrets.DOCS_BOT_PAT_REPO_SYNC }} github-token: ${{ secrets.DOCS_BOT_PAT_REPO_SYNC }}
result-encoding: string result-encoding: string

View File

@@ -24,7 +24,7 @@ jobs:
- id: create-issue - id: create-issue
env: env:
URL: ${{ github.event.pull_request.html_url || github.event.issue.html_url }} URL: ${{ github.event.pull_request.html_url || github.event.issue.html_url }}
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
with: with:
github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} github-token: ${{ secrets.DOCS_BOT_PAT_BASE }}
script: |- script: |-

View File

@@ -20,7 +20,7 @@ jobs:
steps: steps:
- name: Check if the event originated from a team member - name: Check if the event originated from a team member
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
id: is-internal-contributor id: is-internal-contributor
with: with:
result-encoding: string result-encoding: string