We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7845e89 commit eccb0f5Copy full SHA for eccb0f5
.github/workflows/pre-commit.yml
@@ -80,7 +80,7 @@ jobs:
80
github.rest.repos.createCommitStatus({
81
owner: context.repo.owner,
82
repo: context.repo.repo,
83
- sha: context.sha,
+ sha: ${{ github.event.pull_request.head.sha }},
84
state: 'success',
85
context: 'pre-commit-result',
86
description: 'All pre-commit checks passed',
@@ -92,12 +92,11 @@ jobs:
92
needs.lint.result == 'failure'
93
uses: actions/github-script@v7
94
with:
95
- debug: true
96
script: |
97
98
99
100
101
state: 'pending',
102
103
description: 'Pre-commit checks need to pass before merging',
0 commit comments