From a47706031562260e2aeba55576c84cb44a96aee1 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Fri, 26 Mar 2021 16:51:46 -0700 Subject: [PATCH] add a check-labels action This action compares the labels defined in this repo with those specified in the protocol/.github repo. --- .github/workflows/check-labels.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/check-labels.yml diff --git a/.github/workflows/check-labels.yml b/.github/workflows/check-labels.yml new file mode 100644 index 00000000..2b8b0767 --- /dev/null +++ b/.github/workflows/check-labels.yml @@ -0,0 +1,21 @@ +on: + push: + branches: + - main + paths: + - 'ISSUE_LABELS.md' + pull_request: + branches: + - main + paths: + - 'ISSUE_LABELS.md' +name: Check Issue Labels +jobs: + check: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Check Labels + run: | + ./.github/scripts/check-labels.sh