From d7fb105405c6ee48992396b432b51ce9b82748c6 Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Mon, 11 Mar 2024 17:50:17 +0100 Subject: [PATCH] ci: require label on pr Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- .github/workflows/require_label.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/require_label.yml diff --git a/.github/workflows/require_label.yml b/.github/workflows/require_label.yml new file mode 100644 index 000000000..a0a8e7992 --- /dev/null +++ b/.github/workflows/require_label.yml @@ -0,0 +1,23 @@ +name: require label + +on: + pull_request: + types: [opened, labeled, unlabeled, synchronize] + +jobs: + label: + runs-on: ubuntu-22.04 + permissions: + pull-requests: read + steps: + - uses: mheap/github-action-required-labels@80a96a4863886addcbc9f681b5b295ba7f5424e1 # v5.3.0 + with: + mode: minimum + count: 1 + labels: | + breaking change + bug fix + changelog + dependencies + feature + no changelog