Skip to content

Simplify migration script #11

Simplify migration script

Simplify migration script #11

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