Skip to content

Commit 2f4736c

Browse files
[CNSL-1939] Add changelog validation to PR checks (#87)
Calls the reusable workflow from cockroachdb/actions to validate CHANGELOG.md format on PRs against main and pending-deploy-* branches. The workflow fails if the changelog is invalid and posts a comment indicating whether breaking changes are detected (entries prefixed with "Breaking Change:"). Co-authored-by: roachdev-claude <roachdev-claude-bot@cockroachlabs.com>
1 parent a33646a commit 2f4736c

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/changelog.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Changelog Check
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
- 'pending-deploy-*'
8+
9+
jobs:
10+
changelog:
11+
uses: cockroachdb/actions/.github/workflows/pr-changelog-check.yml@v0
12+
with:
13+
base-ref: ${{ github.event.pull_request.base.ref }}
14+
pr-number: ${{ github.event.pull_request.number }}

0 commit comments

Comments
 (0)