We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b94439b commit e35c786Copy full SHA for e35c786
.github/workflows/pre-commit.yml
@@ -90,7 +90,10 @@ jobs:
90
if: |
91
!contains(github.event.pull_request.labels.*.name, 'Status: Pending Merge') ||
92
needs.lint.result == 'failure'
93
- run:
94
- gh api --method POST -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" \
+ run: |
+ gh api \
95
+ --method POST \
96
+ -H "Accept: application/vnd.github+json" \
97
+ -H "X-GitHub-Api-Version: 2022-11-28" \
98
/repos/${{ github.repository }}/statuses/${{ github.event.pull_request.head.sha }} \
99
-f state=pending -f context=pre-commit-result -f description="Pre-commit checks need to pass before merging"
0 commit comments