Skip to content

[CI] Run on all MRs and on release branch #74

[CI] Run on all MRs and on release branch

[CI] Run on all MRs and on release branch #74

Workflow file for this run

name: Modify Changelog
on:
pull_request_target:
types:
- synchronize
- edited
jobs:
verifyChangelog:
name: Verify that Changelog is Updated
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ github.token }}
steps:
- name: Get Changed Files
id: changed
uses: foodee/pr-includes-file-change@master
with:
paths: ^CHANGELOG.md
- name: Set error
if: steps.changed.outputs.matched != 'true' && !contains(github.event.pull_request.body, '[x] Does not require a CHANGELOG entry')
run: echo "::error::CHANGELOG.md has not been modified. Either modify the file or check the checkbox in the body" && exit 1