We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf7caad commit 3078d19Copy full SHA for 3078d19
.github/workflows/changelog-checker.yml
@@ -0,0 +1,21 @@
1
+name: Changelog guard (for release of hotfix)
2
+on:
3
+ pull_request:
4
+ branches:
5
+ - 'release/**'
6
+ - 'Release/**'
7
+ - 'hotfix/**'
8
+ - 'Hotfix/**'
9
+
10
+jobs:
11
+ changelog:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+ - uses: tj-actions/changed-files@v42
16
+ id: changed
17
+ - name: Ensure CHANGELOG.md updated
18
+ if: contains(steps.changed.outputs.all_changed_files, 'CHANGELOG.md') == false
19
+ uses: actions/github-script@v7
20
+ with:
21
+ script: core.setFailed('CHANGELOG.md must be updated.')
0 commit comments