From 749108a163f5cdd9dc388b5a1e55a82f17e4f7ac Mon Sep 17 00:00:00 2001 From: Parth Shah Date: Tue, 11 Aug 2020 19:52:36 -0700 Subject: [PATCH] chore #41 - Add verify labels GitHub action --- .github/workflows/verify-labels.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/verify-labels.yml diff --git a/.github/workflows/verify-labels.yml b/.github/workflows/verify-labels.yml new file mode 100644 index 00000000..6049aaec --- /dev/null +++ b/.github/workflows/verify-labels.yml @@ -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/verify-pr-label-action@v1.1.0 + with: + github-token: '${{ secrets.GITHUB_TOKEN }}' + valid-labels: 'fix, bug, bugfix, feature, enhancement, chore'