diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index 4896f9f..88bcb50 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -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({ @@ -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({ @@ -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({ @@ -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 }}'; @@ -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({ @@ -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({ @@ -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({ @@ -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({ @@ -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({ @@ -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) }};