1
0
mirror of synced 2025-12-19 09:57:42 -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 ;_;
- name: Lock conversations
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
env:
PR_NUMBER: ${{ github.event.pull_request.number }}
with:

View File

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

View File

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

View File

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

View File

@@ -19,7 +19,7 @@ jobs:
if: github.event.label.name == 'fix-internally' && github.repository == 'github/docs'
steps:
- 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
with:
github-token: ${{secrets.DOCS_BOT_PAT_BASE}}

View File

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

View File

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

View File

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

View File

@@ -45,7 +45,7 @@ jobs:
outputs:
matrix: ${{ steps.set-matrix.outputs.result }}
steps:
- uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 # v7.0.0
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
id: set-matrix
with:
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@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
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@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
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@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
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@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
with:
script: |
const query = `

View File

@@ -23,7 +23,7 @@ jobs:
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- 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
with:
github-token: ${{secrets.DOCS_BOT_PAT_BASE}}

View File

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

View File

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

View File

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