Block Request Judgement Calls on Polkadot #1325
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |