Assign distinct reform IDs to national tax expenditure targets #1042
Workflow file for this run
This file contains hidden or 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 entry | |
| on: | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| check-changelog: | |
| name: Check changelog fragment | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Check for changelog fragment | |
| run: | | |
| FRAGMENTS=$(find changelog.d -type f ! -name '.gitkeep' | wc -l) | |
| if [ "$FRAGMENTS" -eq 0 ]; then | |
| echo "::error::No changelog fragment found in changelog.d/" | |
| echo "Add one with: echo 'Description.' > changelog.d/\$(git branch --show-current).<type>.md" | |
| echo "Types: added, changed, fixed, removed, breaking" | |
| exit 1 | |
| fi |