Skip to content

Commit

Permalink
chore #41 - Add verify labels GitHub action (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
parth-dassana committed Aug 18, 2020
1 parent fed1612 commit 65d528f
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/verify-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Verify Labels

on:
pull_request:
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: 'fix, bug, bugfix, feature, enhancement, chore'

0 comments on commit 65d528f

Please sign in to comment.