Skip to content

Commit 0c49262

Browse files
committed
Added GitHub workflow to prevent PR from merging when checks are running
1 parent 2081683 commit 0c49262

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Check based on https://github.com/marketplace/actions/allcheckspassed to prevent PRs from merging when there is no required checks but some jobs are running
2+
3+
name: All checks pass verification
4+
on:
5+
pull_request:
6+
types: [ opened, synchronize, reopened, ready_for_review ]
7+
8+
jobs:
9+
allchecks:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
checks: read
13+
contents: read
14+
steps:
15+
- uses: wechuli/allcheckspassed@v1
16+
with:
17+
delay: '1'
18+
retries: '48'
19+
polling_interval: '5'

0 commit comments

Comments
 (0)