Skip to content

Commit e35c786

Browse files
committed
Fix
1 parent b94439b commit e35c786

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/pre-commit.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,10 @@ jobs:
9090
if: |
9191
!contains(github.event.pull_request.labels.*.name, 'Status: Pending Merge') ||
9292
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" \
93+
run: |
94+
gh api \
95+
--method POST \
96+
-H "Accept: application/vnd.github+json" \
97+
-H "X-GitHub-Api-Version: 2022-11-28" \
9598
/repos/${{ github.repository }}/statuses/${{ github.event.pull_request.head.sha }} \
9699
-f state=pending -f context=pre-commit-result -f description="Pre-commit checks need to pass before merging"

0 commit comments

Comments
 (0)