Skip to content

Commit 73e62a0

Browse files
committed
ci(release): make changelog builder non-fatal
The auto-generated PR-diff changelog (mikepenz/release-changelog-builder-action) fails the release when GitHub's compare API returns "no common ancestor" for the tag range — a quirk of the force-pushed/merge topology between v0.1.x and v0.2.0, not a real history break (v0.1.14 is a direct ancestor of v0.2.0 locally). Set failOnError: "false" + continue-on-error so a failed PR-diff degrades to an empty "Detailed Changes" section instead of aborting the release. The CHANGELOG.md entry (via changelog-reader) remains the source of truth for the release notes. Matches the codeanalyzer-typescript release workflow.
1 parent d39c553 commit 73e62a0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,10 @@ jobs:
9797

9898
- name: Build changelog
9999
id: gen_changelog
100+
continue-on-error: true # auto-PR-diff is best-effort; CHANGELOG.md is the source of truth
100101
uses: mikepenz/release-changelog-builder-action@v5
101102
with:
102-
failOnError: "true"
103+
failOnError: "false"
103104
configuration: .github/workflows/release_config.json
104105
env:
105106
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)