Skip to content

Commit

Permalink
Add label-check action to pull requests (#358)
Browse files Browse the repository at this point in the history
  • Loading branch information
helto4real committed Apr 24, 2021
1 parent 9af4200 commit ca9e940
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/check_pr_label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: 🏷️ Check labels
on:
pull_request:
types: [opened, labeled, unlabeled, synchronize, reopened]
jobs:
check_labels:
name: 🏷️ Check valid labels
runs-on: ubuntu-latest
steps:
- name: Check valid labels
uses: jesusvasquez333/verify-pr-label-action@v1.4.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
valid-labels: 'pr:bugfix, pr: enhancement, pr: dependency-update, pr: new feature'
pull-request-number: ${{ github.event.pull_request.number }}
disable-reviews: true

0 comments on commit ca9e940

Please sign in to comment.