Skip to content

Commit

Permalink
ci(versioning): add Verify-PR-Labels GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
amandascm committed Apr 4, 2022
1 parent 790a99a commit bc6eea2
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/verify-pr-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Verify Pull Request Labels

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

jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: jesusvasquez333/[email protected]
with:
github-token: '${{ secrets.GITHUB_TOKEN }}'
valid-labels: 'release-no, release-auto, release-patch, release-minor, release-major'
invalid-labels: ''
pull-request-number: '${{ github.event.pull_request.number }}'

0 comments on commit bc6eea2

Please sign in to comment.