Skip to content

Commit e3d6bc8

Browse files
authored
Merge pull request heroku#857 from heroku/schneems/check-changelog
[changelog skip] Ensure PRs include a Changelog entry
2 parents ff42f31 + 3fef7ca commit e3d6bc8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/check_changelog.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Check Changelog
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v1
10+
- name: Check that CHANGELOG is touched
11+
run: |
12+
cat $GITHUB_EVENT_PATH | jq .pull_request.title | grep -i '[((changelog skip)|(ci skip))]' || git diff remotes/origin/${{ github.base_ref }} --name-only | grep CHANGELOG.md

0 commit comments

Comments
 (0)