Skip to content

Commit

Permalink
Add workflow to disable PR if certain labels exist (#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
YrrepNoj authored Mar 14, 2022
1 parent 29f2057 commit bc89361
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/enforce-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Enforce PR Labels
on:
pull_request:
types: [labeled, unlabeled, opened, edited, synchronize]


jobs:
enforce-labels:
runs-on: ubuntu-latest
steps:
- uses: yogevbd/enforce-label-action@2.1.0
with:
BANNED_LABELS: "needs-docs,needs-tests,needs-adr"

0 comments on commit bc89361

Please sign in to comment.