Skip to content

Commit 7377d52

Browse files
author
Junwei Dai
committed
Add changelog_verifier workflow
Signed-off-by: Junwei Dai <junweid@amazon.com>
1 parent d14cdd9 commit 7377d52

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: "Changelog Verifier"
2+
on:
3+
push:
4+
branches-ignore:
5+
- 'whitesource-remediate/**'
6+
- 'backport/**'
7+
pull_request:
8+
branches: main
9+
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]
10+
11+
jobs:
12+
# Enforces the update of a changelog file on every pull request
13+
verify-changelog:
14+
if: github.repository == 'opensearch-project/dashboards-flow-framework'
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
with:
19+
token: ${{ secrets.GITHUB_TOKEN }}
20+
ref: ${{ github.event.pull_request.head.sha }}
21+
22+
- uses: dangoslen/changelog-enforcer@v3
23+
with:
24+
skipLabels: "autocut, skip-changelog"

0 commit comments

Comments
 (0)