diff --git a/.github/workflows/pre-commit-comment.yaml b/.github/workflows/pre-commit-comment.yaml index d2640d9..958502e 100644 --- a/.github/workflows/pre-commit-comment.yaml +++ b/.github/workflows/pre-commit-comment.yaml @@ -16,7 +16,7 @@ jobs: steps: - name: Get PR number from workflow run id: pr-number - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | // Get PR number from the workflow run event @@ -37,7 +37,7 @@ jobs: } - name: Delete previous pre-commit failure comments if: steps.pr-number.outputs.number - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: PR_NUMBER: ${{ steps.pr-number.outputs.number }} with: @@ -69,7 +69,7 @@ jobs: - name: Post comment if: steps.pr-number.outputs.number && github.event.workflow_run.conclusion == 'failure' - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: PR_NUMBER: ${{ steps.pr-number.outputs.number }} with: