Skip to content

Commit 3b85ff8

Browse files
ready label check
Signed-off-by: Brian Dellabetta <[email protected]>
1 parent 727513c commit 3b85ff8

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Check Ready Label
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
check-ready-label:
10+
if: !contains(github.event.pull_request.labels.*.name, 'ready')
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Fail if ready label has not been applied to PR
14+
run: |
15+
echo "::error::The PR is not labeled as 'ready'"
16+
exit 1

0 commit comments

Comments
 (0)