From ed734960923045acc87856bf6a91ce0dfbd46b06 Mon Sep 17 00:00:00 2001 From: Niyaz Date: Tue, 5 Mar 2024 17:43:48 +0300 Subject: [PATCH] Update checks.yaml Signed-off-by: Niyaz --- .github/workflows/checks.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index 8b137891..33427554 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -1 +1,18 @@ +name: PR Checks +on: + pull_request: + types: [opened, labeled, unlabeled, synchronize] + +jobs: + release-label: + name: Release note label + runs-on: ubuntu-latest + + steps: + - name: Check minimum labels + uses: mheap/github-action-required-labels@v5 + with: + mode: minimum + count: 1 + labels: "release-note/dependencies, dependencies, release-note/deprecation, release-note/breaking-change, release-note/bug, bug, release-note/enhancement, enhancement, release-note/documentation, documentation, release-note/new-feature, release-note/ignore"