From da99300b597d2a73c32bcbe905d7daffc079ce33 Mon Sep 17 00:00:00 2001 From: Robert Resch Date: Wed, 4 Sep 2024 13:00:39 +0000 Subject: [PATCH] Add workflow to check required labels --- .github/workflows/check_labels.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 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 0000000000000..3e5dd49e4652f --- /dev/null +++ b/.github/workflows/check_labels.yml @@ -0,0 +1,26 @@ +name: "Check Pull Request labels" + +# yamllint disable-line rule:truthy +on: + pull_request: + branches: + - dev + types: + - labeled + - opened + - reopened + - 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, code-quality, new-integration, deprecation, dependency