Skip to content

fix: give update-flake PR commits a real message#5

Merged
otavio merged 1 commit into
mainfrom
fix-commit-message
Jun 15, 2026
Merged

fix: give update-flake PR commits a real message#5
otavio merged 1 commit into
mainfrom
fix-commit-message

Conversation

@otavio

@otavio otavio commented Jun 15, 2026

Copy link
Copy Markdown
Member

Pass commit-message to create-pull-request so the commit that lands on the base branch is <pr-title> + Nix's per-input changelog, instead of the placeholder [create-pull-request] automated change. Fixes a regression in v1.0.1.

The Create PR step set the PR title and body but not commit-message, so
peter-evans/create-pull-request fell back to its placeholder ("[create-pull-request]
automated change") for the actual commit. The PR looked fine while the commit log
that lands on the base branch was useless.

Pass commit-message explicitly: the pr-title as the summary line followed by Nix's
per-input changelog (the same body shown in the PR), restoring the informative
"<title>\n\n<changelog>" commit the previous update-flake-lock produced.
@otavio
otavio merged commit 9831168 into main Jun 15, 2026
9 checks passed
@otavio
otavio deleted the fix-commit-message branch June 15, 2026 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant