You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: generate_release_notes: true duplicates release notes when release already exists on re-run #827
When a release already exists for the given tag, generate_release_notes should
overwrite the existing body with freshly generated notes — not merge/append them.
Actual behavior
On every re-run, the generated notes are merged into the existing release body,
causing the notes to appear duplicated. Setting append_body: false does not
prevent this because append_body only controls manually provided body/body_path
inputs — it has no effect on generate_release_notes behaviour.
Steps to reproduce
Run the workflow for a tag — release is created with notes successfully
Re-run the exact same workflow for the same tag (e.g. deploying a second flavour)
Observe that release notes are duplicated in the existing release body
Relevant logs
No error logs — the action succeeds but the release body contains duplicated notes
Additional context
Current workaround: manually clear the release body before the action runs using gh release edit "$TAG" --notes "", then let the action regenerate notes fresh. But this is a workaround and ideally the action should handle
this natively.
Activity
ci(release): skip note generation when the release already exists
ci(release): auto-generate release notes from merged PRs (#76)
ci(release): generate notes when the release body is empty (#96)