From 78eed61ab0ba2880d49e1f0322343dda95560a5a Mon Sep 17 00:00:00 2001 From: ludeeus Date: Sun, 11 Feb 2024 09:13:30 +0000 Subject: [PATCH] Add action to require PR labels --- .github/workflows/labels.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/labels.yml diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml new file mode 100644 index 0000000..c62f118 --- /dev/null +++ b/.github/workflows/labels.yml @@ -0,0 +1,24 @@ +name: "Check Pull Request labels" + +on: + pull_request: + branches: + - main + types: + - labeled + - opened + - synchronize + - unlabeled + +permissions: {} + +jobs: + check_labels: + name: "Check Pull Request labels" + runs-on: ubuntu-latest + steps: + - name: Check the labels + uses: ludeeus/action-require-labels@1.1.0 + with: + labels: >- + bugfix, breaking-change, new-feature, dependencies, internal