Prepare for release #39
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: Changelog check | |
on: | |
merge_group: | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled] | |
jobs: | |
changelog-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Check which component is modified | |
uses: dorny/paths-filter@v2 | |
id: changes | |
with: | |
filters: | | |
e310x: | |
- 'e310x/**' | |
e310x-hal: | |
- 'e310x-hal/**' | |
hifive1: | |
- 'hifive1/**' | |
- name: Check for CHANGELOG.md (e310x) | |
if: steps.changes.outputs['e310x'] == 'true' | |
uses: dangoslen/changelog-enforcer@v3 | |
with: | |
changeLogPath: ./e310x/CHANGELOG.md | |
skipLabels: 'skip changelog' | |
missingUpdateErrorMessage: 'Please add a changelog entry in the e310x/CHANGELOG.md file.' | |
- name: Check for CHANGELOG.md (e310x-hal) | |
if: steps.changes.outputs['e310x-hal'] == 'true' | |
uses: dangoslen/changelog-enforcer@v3 | |
with: | |
changeLogPath: ./e310x-hal/CHANGELOG.md | |
skipLabels: 'skip changelog' | |
missingUpdateErrorMessage: 'Please add a changelog entry in the e310x-hal/CHANGELOG.md file.' | |
- name: Check for CHANGELOG.md (hifive1) | |
if: steps.changes.outputs['hifive1'] == 'true' | |
uses: dangoslen/changelog-enforcer@v3 | |
with: | |
changeLogPath: ./hifive1/CHANGELOG.md | |
skipLabels: 'skip changelog' | |
missingUpdateErrorMessage: 'Please add a changelog entry in the hifive1/CHANGELOG.md file.' | |