Skip to content

Commit

Permalink
Add A GitHub workflow to test this action
Browse files Browse the repository at this point in the history
  • Loading branch information
jesusvasquez333 committed Mar 20, 2020
1 parent ba3ff21 commit 9c7415c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
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: ./
id: verify-pr-label
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
valid-labels: 'bug, enhancement'

0 comments on commit 9c7415c

Please sign in to comment.