Skip to content

*: extend PreBlock processing callback #61

*: extend PreBlock processing callback

*: extend PreBlock processing callback #61

name: CHANGELOG check
on:
pull_request:
branches:
- master
paths-ignore:
- '**/*.md'
- '**/*.yml'
- '.github/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')