Skip to content

Commit

Permalink
Ensure required labels are present
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea committed Mar 6, 2021
1 parent d69bdf7 commit b0bfc1c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# See https://github.com/jesusvasquez333/verify-pr-label-action
on:
pull_request_target:
types: [opened, labeled, unlabeled, synchronize]

jobs:
check_pr_labels:
runs-on: ubuntu-latest
name: Verify that the PR has a valid label
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Verify PR label action
uses: jesusvasquez333/[email protected]
with:
github-token: '${{ secrets.GITHUB_TOKEN }}'
valid-labels: 'bug, enhancement, refactoring, major, deprecated, skip-changelog'
invalid-labels: 'help wanted, invalid, feedback-needed, incomplete'
pull-request-number: '${{ github.event.pull_request.number }}'
disable-reviews: true

0 comments on commit b0bfc1c

Please sign in to comment.