Skip to content

Commit

Permalink
Replace Label Checking Action
Browse files Browse the repository at this point in the history
I had sourced the original one from the ember-data repo, but I like this
one better and it's better supported.
  • Loading branch information
jrjohnson committed Aug 6, 2024
1 parent 37bdda1 commit f9c01ea
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/required-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,19 @@ jobs:
enforce--ready-label:
runs-on: ubuntu-latest
steps:
- uses: yogevbd/enforce-label-action@2
- uses: mheap/github-action-required-labels@v5
with:
REQUIRED_LABELS_ANY: "ready to merge"
REQUIRED_LABELS_ANY_DESCRIPTION: "Add the 'ready to merge' label to merge this PR"
mode: exactly
count: 1
labels: |
ready to merge
message: "Add the 'ready to merge' label to merge this PR"
prevent-donotmerge-label:
runs-on: ubuntu-latest
steps:
- uses: yogevbd/enforce-label-action@2
- uses: mheap/github-action-required-labels@v5
with:
BANNED_LABELS: "DO NOT MERGE"
BANNED_LABELS_DESCRIPTION: "Remove the 'DO NOT MERGE' label to merge this PR"
mode: exactly
count: 0
labels: "DO NOT MERGE"
message: "DO NOT MERGE label is not allowed on this PR"

0 comments on commit f9c01ea

Please sign in to comment.