Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
pr-sha: ${{ steps.get-sha.outputs.sha }}
steps:
- name: Check commenter permission
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
script: |
const { data } = await github.rest.repos.getCollaboratorPermissionLevel({
Expand All @@ -45,7 +45,7 @@ jobs:
}

- name: React with rocket
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
script: |
await github.rest.reactions.createForIssueComment({
Expand All @@ -57,7 +57,7 @@ jobs:

- name: Get PR head SHA
id: get-sha
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
script: |
const { data: pr } = await github.rest.pulls.get({
Expand All @@ -68,7 +68,7 @@ jobs:
core.setOutput('sha', pr.head.sha);

- name: Set checks to pending
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
script: |
const sha = '${{ steps.get-sha.outputs.sha }}';
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:

- name: Report status
if: always()
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
script: |
await github.rest.repos.createCommitStatus({
Expand Down Expand Up @@ -182,7 +182,7 @@ jobs:

- name: Report status
if: always()
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
script: |
await github.rest.repos.createCommitStatus({
Expand Down Expand Up @@ -223,7 +223,7 @@ jobs:

- name: Report status
if: always()
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
script: |
await github.rest.repos.createCommitStatus({
Expand Down Expand Up @@ -264,7 +264,7 @@ jobs:

- name: Report status
if: always()
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
script: |
await github.rest.repos.createCommitStatus({
Expand Down Expand Up @@ -304,7 +304,7 @@ jobs:

- name: Report status
if: always()
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
script: |
await github.rest.repos.createCommitStatus({
Expand All @@ -322,7 +322,7 @@ jobs:
runs-on: ubuntu-latest
if: always() && needs.slash-command.result == 'success'
steps:
- uses: actions/github-script@v7
- uses: actions/github-script@v9
with:
script: |
const jobs = ${{ toJSON(needs) }};
Expand Down
Loading