Skip to content

Commit

Permalink
ensure changelog exists
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas Larson <LucasLarson@riseup.net>
  • Loading branch information
LucasLarson committed Aug 23, 2022
1 parent 363d30c commit 40fa8b0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,19 @@ jobs:
run: |
command npm install markdownlint
command npm install markdownlint-cli
- name: Ensure changelog exists
run: |
test -n "$(
command find -- . \
-maxdepth 1 \
-type f \
-name '*.m*d*' \
'(' \
-name 'change*log*' -o \
-name 'CHANGE*LOG*' \
')'
)" ||
command touch -- ./changelog.md
- name: Create local changes
run: |
command github_changelog_generator \
Expand Down

0 comments on commit 40fa8b0

Please sign in to comment.