From df4d427e66ad9529622e728082846eb5fef8e484 Mon Sep 17 00:00:00 2001 From: Michael Barz Date: Fri, 28 Mar 2025 17:41:11 +0100 Subject: [PATCH] feat: add labels bot (#513) --- .github/workflows/labels.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/labels.yml diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml new file mode 100644 index 000000000..02e32371b --- /dev/null +++ b/.github/workflows/labels.yml @@ -0,0 +1,27 @@ +name: Require Pull Request Labels +on: + pull_request: + types: [opened, labeled, unlabeled, synchronize] +jobs: + label: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - uses: mheap/github-action-required-labels@v5 + with: + mode: minimum + count: 1 + labels: | + Type:Bug + Type:Enhancement + Type:Feature + Type:Breaking-Change + Type:Test + Type:Documentation + Type:Maintenance + Type:Security + Type:Dependencies + dependencies + add_comment: true