Skip to content

Commit ae93f2e

Browse files
committed
Do not fail on an empty unreleased changelog
1 parent 71d90bf commit ae93f2e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ jobs:
9393

9494
- name: Compile the unreleased changelog
9595
run: |
96-
ls changelog/*.md && uv run towncrier build --keep --version Unreleased
96+
# shellcheck disable=SC2015
97+
ls changelog/*.md && uv run towncrier build --keep --version Unreleased || true
9798
9899
- name: Prepare compiled artifact
99100
run: |

.github/workflows/docs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ jobs:
4848

4949
- name: Compile the unreleased changelog
5050
run: |
51-
ls changelog/*.md && uv run towncrier build --keep --version Unreleased
51+
# shellcheck disable=SC2015
52+
ls changelog/*.md && uv run towncrier build --keep --version Unreleased || true
5253
5354
- name: Build the docs
5455
run: |

0 commit comments

Comments
 (0)