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:
@@ -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:
|
||||
|
||||
4
.github/workflows/changelog-prompt.yml
vendored
4
.github/workflows/changelog-prompt.yml
vendored
@@ -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: |
|
||||
|
||||
@@ -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: |
|
||||
|
||||
@@ -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: |
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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}}
|
||||
|
||||
8
.github/workflows/create-changelog-pr.yml
vendored
8
.github/workflows/create-changelog-pr.yml
vendored
@@ -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 }}
|
||||
|
||||
@@ -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}}
|
||||
|
||||
@@ -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: |
|
||||
|
||||
2
.github/workflows/index-general-search.yml
vendored
2
.github/workflows/index-general-search.yml
vendored
@@ -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: |
|
||||
|
||||
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@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
||||
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
|
||||
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@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
|
||||
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@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
||||
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
|
||||
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@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
||||
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
|
||||
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@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}}
|
||||
|
||||
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_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
|
||||
|
||||
@@ -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: |-
|
||||
|
||||
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@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
|
||||
id: is-internal-contributor
|
||||
with:
|
||||
result-encoding: string
|
||||
|
||||
Reference in New Issue
Block a user