Merge pull request #120 from nspcc-dev/fix-ch #42
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: CHANGELOG check | |
on: | |
pull_request: | |
branches: | |
- master | |
paths-ignore: | |
- '**/*.md' | |
- 'workflows' | |
- 'formal-models' | |
jobs: | |
check: | |
name: Check for CHANGELOG updates | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Get changed CHANGELOG | |
id: changelog-diff | |
uses: tj-actions/changed-files@v44 | |
with: | |
files: CHANGELOG.md | |
- name: Fail if changelog not updated | |
if: steps.changelog-diff.outputs.any_changed == 'false' | |
uses: actions/github-script@v7 | |
with: | |
script: | | |
core.setFailed('CHANGELOG.md has not been updated') |