Skip to content

Commit

Permalink
add workflow for label validation (#582)
Browse files Browse the repository at this point in the history
  • Loading branch information
nimboya authored Feb 3, 2022
1 parent 3b9fffb commit 66515ea
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/label-validator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: LabelValidator

on:
pull_request:
types: [opened, labeled, unlabeled, synchronize]
branches:
- releases

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Validate
uses: jesusvasquez333/verify-pr-label-action@v1.4.0
with:
github-token: ${{ secrets.REPO_TOKEN }}
valid-labels: 'major, minor, patch'

0 comments on commit 66515ea

Please sign in to comment.