diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index b1d89fe..59dc6b3 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -64,7 +64,7 @@ jobs: - name: Post failure comment on PR if: failure() && (steps.pre-commit.outcome == 'failure' || steps.pre-commit-push.outcome == 'failure') - uses: actions/github-script@v7 + uses: actions/github-script@v9 with: script: | const body = `⚠️ **Pre-commit checks failed**\n\nPlease run the following locally and commit the fixes:\n\`\`\`bash\npre-commit run --all-files\npre-commit run --all-files --hook-stage pre-push\ngit add -u && git commit\n\`\`\`\nSee [CONTRIBUTING.md](../blob/main/CONTRIBUTING.md#pre-commit-check) for setup instructions.`;