Skip to content

Commit

Permalink
Require at least one action label is specified before merging a PR
Browse files Browse the repository at this point in the history
Signed-off-by: Quan Tian <quan.tian@broadcom.com>
  • Loading branch information
tnqn committed Aug 6, 2024
1 parent ffa1af6 commit 1106d34
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Label Checker
on:
pull_request:
types:
- opened
- synchronize
- reopened
- labeled
- unlabeled

jobs:
check_labels:
name: Check labels
runs-on: ubuntu-latest
steps:
- uses: docker://agilepathway/pull-request-label-checker:latest
with:
any_of: action/backport,action/release-note,action/none
repo_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1106d34

Please sign in to comment.