diff --git a/.github/workflows/check_labels.yml b/.github/workflows/check_labels.yml new file mode 100644 index 00000000000000..1b36c410ddefda --- /dev/null +++ b/.github/workflows/check_labels.yml @@ -0,0 +1,24 @@ +name: "Check Pull Request labels" + +# yamllint disable-line rule:truthy +on: + pull_request: + branches: + - dev + types: + - labeled + - unlabeled + - synchronize + +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: >- + breaking-change, bugfix, code-quality, dependency, deprecation, new-feature, new-integration