From 34f680f1fbb34dd3d5fe3a693a768d951f7d1adb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Fri, 30 Jun 2023 10:26:33 +0200 Subject: [PATCH] Add workflow to check pull request labels (#3176) * Add workflow to check pull request labels * Fix YAML --- .github/workflows/pull_requests_labels.yml | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/pull_requests_labels.yml 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