diff --git a/.github/workflows/pull_requests_labels.yml b/.github/workflows/pull_requests_labels.yml new file mode 100644 index 00000000000..b1b6f6c81d6 --- /dev/null +++ b/.github/workflows/pull_requests_labels.yml @@ -0,0 +1,27 @@ +name: "Check Pull Request labels" + +on: + pull_request: + types: + - labeled + - unlabeled + branches: + - main + +permissions: {} + +jobs: + check_labels: + name: "Check Pull Request labels" + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Check the labels + uses: ludeeus/action-require-labels@1.0.0 + with: + labels: >- + Breaking Change, Experimental, pr: new-feature, + pr: enhancement, pr: refactor, pr: bugfix, + pr: dependency-update \ No newline at end of file