Skip to content

Commit d1f8b53

Browse files
committed
CONT-1219 : fail ci for puppetlabs members if no label
1 parent 0f33a2d commit d1f8b53

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

.github/workflows/labeller.yml

Lines changed: 13 additions & 8 deletions
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:
6-
- "opened"
6+
- opened
7+
- labeled
8+
- unlabeled
79
pull_request_target:
810
types:
9-
- "opened"
11+
- opened
12+
- labeled
13+
- unlabeled
1014

1115
jobs:
1216
label:
13-
runs-on: "ubuntu-latest"
17+
runs-on: ubuntu-latest
1418
steps:
1519

16-
- uses: "puppetlabs/community-labeller@v0"
17-
name: "Label issues or pull requests"
20+
- uses: puppetlabs/community-labeller@v1.0.1
21+
name: Label issues or pull requests
1822
with:
19-
label_name: "community"
23+
label_name: community
2024
label_color: '5319e7'
21-
org_membership: "puppetlabs"
25+
org_membership: puppetlabs
26+
fail_if_member: 'true'
2227
token: ${{ secrets.IAC_COMMUNITY_LABELER }}

0 commit comments

Comments
 (0)