summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/check-changelog.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/check-changelog.yml b/.github/workflows/check-changelog.yml
index 838629e685..8925a21074 100644
--- a/.github/workflows/check-changelog.yml
+++ b/.github/workflows/check-changelog.yml
@@ -4,15 +4,20 @@ on:
pull_request:
paths:
- 'CHANGELOG.md'
+ - 'ios/CHANGELOG.md'
+ - 'android/CHANGELOG.md'
env:
LINE_LIMIT: 100
jobs:
check-changelog:
runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ changelog: [CHANGELOG.md, ios/CHANGELOG.md, android/CHANGELOG.md]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: No lines must exceed ${{ env.LINE_LIMIT }} characters
run: |
awk 'length($0) > '$LINE_LIMIT' { print NR ": Line exceeds '$LINE_LIMIT' chars: " $0; found=1 } \
- END { if(found) exit 1 }' CHANGELOG.md
+ END { if(found) exit 1 }' ${{ matrix.changelog }}