Skip to content

Commit e62c181

Browse files
author
Rishav Kumar
committed
Add workflow for changelog verification
Signed-off-by: Rishav Kumar <[email protected]>
1 parent 835f899 commit e62c181

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: "Changelog Verifier"
2+
on:
3+
pull_request:
4+
types: [opened, edited, review_requested, synchronize, reopened, ready_for_review, labeled, unlabeled]
5+
6+
jobs:
7+
# Enforces the update of a changelog file on every pull request
8+
verify-changelog:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
with:
13+
token: ${{ secrets.GITHUB_TOKEN }}
14+
ref: ${{ github.event.pull_request.head.ref }}
15+
16+
- uses: dangoslen/changelog-enforcer@v3
17+
with:
18+
skipLabels: "autocut, skip-changelog"

0 commit comments

Comments
 (0)