Skip to content

Commit

Permalink
CONT-1219 : fail ci for puppetlabs members if no label
Browse files Browse the repository at this point in the history
  • Loading branch information
malikparvez committed Jul 17, 2023
1 parent 9b2b642 commit f3161c7
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/labeller.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
name: community-labeller
name: Labeller

on:
issues:
types:
- opened
- labeled
- unlabeled
pull_request_target:
types:
- opened
- labeled
- unlabeled

jobs:
label:
runs-on: ubuntu-latest
steps:

- uses: puppetlabs/community-labeller@v0
- uses: puppetlabs/community-labeller@v1.0.1
name: Label issues or pull requests
with:
label_name: community
label_color: '5319e7'
org_membership: puppetlabs
token: ${{ secrets.IAC_COMMUNITY_LABELER }}
fail_if_member: 'true'
token: ${{ secrets.IAC_COMMUNITY_LABELER }}

0 comments on commit f3161c7

Please sign in to comment.