Update actions/github-script action to v9
This commit is contained in:
parent
d82e4e06dd
commit
e62edeb218
3 changed files with 5 additions and 5 deletions
2
.github/workflows/fork-pr-notice.yml
vendored
2
.github/workflows/fork-pr-notice.yml
vendored
|
|
@ -20,7 +20,7 @@ jobs:
|
||||||
if: github.event.pull_request.base.repo.full_name != github.event.pull_request.head.repo.full_name
|
if: github.event.pull_request.base.repo.full_name != github.event.pull_request.head.repo.full_name
|
||||||
steps:
|
steps:
|
||||||
- name: Add auto-generated commit warning
|
- name: Add auto-generated commit warning
|
||||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
|
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
github.rest.issues.createComment({
|
github.rest.issues.createComment({
|
||||||
|
|
|
||||||
2
.github/workflows/post-release.yml
vendored
2
.github/workflows/post-release.yml
vendored
|
|
@ -15,7 +15,7 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Trigger pipeline
|
- name: Trigger pipeline
|
||||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
|
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.ENTERPRISE_ACTIONS_TOKEN }}
|
github-token: ${{ secrets.ENTERPRISE_ACTIONS_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
|
|
|
||||||
6
.github/workflows/pull_request.yml
vendored
6
.github/workflows/pull_request.yml
vendored
|
|
@ -17,7 +17,7 @@ jobs:
|
||||||
pull-requests: read
|
pull-requests: read
|
||||||
steps:
|
steps:
|
||||||
- name: Add notice
|
- name: Add notice
|
||||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
|
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
|
||||||
if: contains(github.event.pull_request.labels.*.name, 'X-Blocked')
|
if: contains(github.event.pull_request.labels.*.name, 'X-Blocked')
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
|
|
@ -41,7 +41,7 @@ jobs:
|
||||||
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN_READ_ORG }}
|
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN_READ_ORG }}
|
||||||
- name: Add label
|
- name: Add label
|
||||||
if: steps.teams.outputs.isTeamMember == 'false'
|
if: steps.teams.outputs.isTeamMember == 'false'
|
||||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
|
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
github.rest.issues.addLabels({
|
github.rest.issues.addLabels({
|
||||||
|
|
@ -63,7 +63,7 @@ jobs:
|
||||||
github.event.pull_request.head.repo.full_name != github.repository
|
github.event.pull_request.head.repo.full_name != github.repository
|
||||||
steps:
|
steps:
|
||||||
- name: Close pull request
|
- name: Close pull request
|
||||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
|
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
github.rest.issues.createComment({
|
github.rest.issues.createComment({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue