Skip to content

Commit 847a908

Browse files
committed
CONT-1219 : fail ci for puppetlabs members if no label
1 parent e80c862 commit 847a908

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/labeller.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,27 @@
1-
name: community-labeller
1+
name: Labeller
22

33
on:
44
issues:
55
types:
66
- opened
7+
- labeled
8+
- unlabeled
79
pull_request_target:
810
types:
911
- opened
12+
- labeled
13+
- unlabeled
1014

1115
jobs:
1216
label:
1317
runs-on: ubuntu-latest
1418
steps:
1519

16-
- uses: puppetlabs/community-labeller@v0
20+
- uses: puppetlabs/community-labeller@v1.0.1
1721
name: Label issues or pull requests
1822
with:
1923
label_name: community
2024
label_color: '5319e7'
2125
org_membership: puppetlabs
22-
token: ${{ secrets.IAC_COMMUNITY_LABELER }}
26+
fail_if_member: 'true'
27+
token: ${{ secrets.IAC_COMMUNITY_LABELER }}

0 commit comments

Comments
 (0)