Skip to content

Commit 23e05ae

Browse files
committed
add a changelog enforcer to CI
1 parent 410cf94 commit 23e05ae

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/changelog-enforcer.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: "Changelog Enforcer"
2+
on:
3+
pull_request:
4+
# The specific activity types are listed here to include "labeled" and "unlabeled"
5+
# (which are not included by default for the "pull_request" trigger).
6+
# This is needed to allow skipping enforcement of the changelog in PRs with specific labels,
7+
# as defined in the (optional) "skipLabels" property.
8+
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]
9+
10+
jobs:
11+
# Enforces the update of a changelog file on every pull request
12+
changelog:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: dangoslen/changelog-enforcer@v3

0 commit comments

Comments
 (0)