Skip to content

Commit

Permalink
Adding an enforcement for PR labels (#2604)
Browse files Browse the repository at this point in the history
  • Loading branch information
itaiad200 authored Oct 27, 2021
1 parent 20c30c9 commit 2066417
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/changelog.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: changelog

on:
pull_request:
types: [labeled, unlabeled, opened, edited, synchronize]

jobs:
enforce-label:
runs-on: ubuntu-latest
steps:
- uses: yogevbd/enforce-label-action@a3c219da6b8fa73f6ba62b68ff09c469b3a1c024 #tag 2.2.2
with:
REQUIRED_LABELS_ANY: "include-changelog,exclude-changelog"
REQUIRED_LABELS_ANY_DESCRIPTION: "Enforcing that a PR must have one of (include-changelog,exclude-changelog) labels to be merged"

0 comments on commit 2066417

Please sign in to comment.