CI: Update changelog to match repo

This commit is contained in:
Henrik Tjäder 2023-06-30 08:47:40 +02:00 committed by Emil Fresk
parent bfa3214f2f
commit 508d607c21

View file

@ -26,8 +26,12 @@ jobs:
filters: | filters: |
rtic: rtic:
- 'rtic/**' - 'rtic/**'
rtic-channel: rtic-common:
- 'rtic-channel/**' - 'rtic-common/**'
rtic-macros:
- 'rtic-macros/**'
rtic-sync:
- 'rtic-sync/**'
rtic-time: rtic-time:
- 'rtic-time/**' - 'rtic-time/**'
rtic-monotonics: rtic-monotonics:
@ -43,13 +47,33 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check that changelog updated (rtic-channel) - name: Check that changelog updated (rtic-common)
if: steps.changes.outputs.rtic-channel == 'true' if: steps.changes.outputs.rtic-common == 'true'
uses: dangoslen/changelog-enforcer@v3 uses: dangoslen/changelog-enforcer@v3
with: with:
changeLogPath: ./rtic-channel/CHANGELOG.md changeLogPath: ./rtic-common/CHANGELOG.md
skipLabels: 'needs-changelog, skip-changelog' skipLabels: 'needs-changelog, skip-changelog'
missingUpdateErrorMessage: 'Please add a changelog entry in the rtic-channel/CHANGELOG.md file.' missingUpdateErrorMessage: 'Please add a changelog entry in the rtic-common/CHANGELOG.md file.'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check that changelog updated (rtic-macros)
if: steps.changes.outputs.rtic-macros == 'true'
uses: dangoslen/changelog-enforcer@v3
with:
changeLogPath: ./rtic-macros/CHANGELOG.md
skipLabels: 'needs-changelog, skip-changelog'
missingUpdateErrorMessage: 'Please add a changelog entry in the rtic-macros/CHANGELOG.md file.'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check that changelog updated (rtic-sync)
if: steps.changes.outputs.rtic-sync == 'true'
uses: dangoslen/changelog-enforcer@v3
with:
changeLogPath: ./rtic-sync/CHANGELOG.md
skipLabels: 'needs-changelog, skip-changelog'
missingUpdateErrorMessage: 'Please add a changelog entry in the rtic-sync/CHANGELOG.md file.'
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}