Skip to content

Commit e42b604

Browse files
p2
Signed-off-by: Brian Dellabetta <[email protected]>
1 parent 3b85ff8 commit e42b604

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/ready-label-check.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
name: Check Ready Label
2-
2+
# https://stackoverflow.com/a/71504928/29403906
33
on:
44
pull_request:
5-
branches:
6-
- main
5+
branches: [ main , 'release/*' ]
6+
types:
7+
- opened
8+
- labeled
9+
- unlabeled
10+
711

812
jobs:
913
check-ready-label:
10-
if: !contains(github.event.pull_request.labels.*.name, 'ready')
14+
if: "!contains(github.event.pull_request.labels.*.name, 'ready')"
1115
runs-on: ubuntu-latest
1216
steps:
1317
- name: Fail if ready label has not been applied to PR

0 commit comments

Comments
 (0)