Skip to content

Commit

Permalink
[ci] Add check if any label is assined to new PR. (#12)
Browse files Browse the repository at this point in the history
Signed-off-by: Niyaz <[email protected]>
  • Loading branch information
altermann1 authored Jan 18, 2024
1 parent f669618 commit 23842ef
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +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/new-feature, release-note/ignore"

0 comments on commit 23842ef

Please sign in to comment.