From 1a796b17f878cfaf2eacc9b9948303d6caca65ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Wei=C3=9Fe?= Date: Thu, 12 Dec 2024 12:04:14 +0100 Subject: [PATCH] Add require-label workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Daniel Weiße --- .github/workflows/require-label.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 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 00000000..b368e39f --- /dev/null +++ b/.github/workflows/require-label.yml @@ -0,0 +1,24 @@ +name: 'Check: require label' + +on: + pull_request: + types: [opened, labeled, unlabeled, synchronize] + +jobs: + label: + runs-on: ubuntu-24.04 + permissions: + pull-requests: read + steps: + - uses: mheap/github-action-required-labels@388fd6af37b34cdfe5a23b37060e763217e58b03 # 5.5.0 + with: + mode: minimum + count: 1 + labels: | + breaking change + bug fix + changelog + dependencies + feature + documentation + no changelog