aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/changelog.yml36
1 files changed, 30 insertions, 6 deletions
diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml
index 717ae91..040eb82 100644
--- a/.github/workflows/changelog.yml
+++ b/.github/workflows/changelog.yml
@@ -26,8 +26,12 @@ jobs:
filters: |
rtic:
- 'rtic/**'
- rtic-channel:
- - 'rtic-channel/**'
+ rtic-common:
+ - 'rtic-common/**'
+ rtic-macros:
+ - 'rtic-macros/**'
+ rtic-sync:
+ - 'rtic-sync/**'
rtic-time:
- 'rtic-time/**'
rtic-monotonics:
@@ -43,13 +47,33 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- - name: Check that changelog updated (rtic-channel)
- if: steps.changes.outputs.rtic-channel == 'true'
+ - name: Check that changelog updated (rtic-common)
+ if: steps.changes.outputs.rtic-common == 'true'
uses: dangoslen/changelog-enforcer@v3
with:
- changeLogPath: ./rtic-channel/CHANGELOG.md
+ changeLogPath: ./rtic-common/CHANGELOG.md
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:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}