add github action to verify that changelog has been updated (#1163)
# What this PR does Add a GitHub Action to check that the `CHANGELOG.md` has been updated. If no `CHANGELOG.md` change is required, simply add the "no changelog" label to your PR, which will effectively skip this check.
This commit is contained in:
parent
d03b7f3e69
commit
f587134f66
1 changed files with 23 additions and 0 deletions
23
.github/workflows/verify-changelog-updated.yml
vendored
Normal file
23
.github/workflows/verify-changelog-updated.yml
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
name: Verify CHANGELOG updated
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [assigned, opened, synchronize, reopened, labeled, unlabeled]
|
||||
branches:
|
||||
- main
|
||||
- dev
|
||||
|
||||
jobs:
|
||||
verfiy-changelog-updated:
|
||||
name: Verify CHANGELOG updated
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Changelog check
|
||||
uses: Zomzog/changelog-checker@v1.3.0
|
||||
with:
|
||||
fileName: CHANGELOG.md
|
||||
noChangelogLabel: no changelog
|
||||
checkNotification: Simple
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Loading…
Add table
Reference in a new issue