From 76f635c5f132991e646ba42f422d05dd9a0f29b0 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Sun, 14 Jun 2026 23:08:34 -0300 Subject: [PATCH] fix: give update-flake PR commits a real message 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 "\n\n<changelog>" commit the previous update-flake-lock produced. --- update-flake/action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/update-flake/action.yml b/update-flake/action.yml index d64c522..445e501 100644 --- a/update-flake/action.yml +++ b/update-flake/action.yml @@ -136,6 +136,10 @@ runs: branch: ${{ inputs.pr-branch }} delete-branch: true title: ${{ inputs.pr-title }} + commit-message: | + ${{ inputs.pr-title }} + + ${{ steps.update.outputs.body }} body: ${{ steps.update.outputs.body }} labels: ${{ inputs.pr-labels }} reviewers: ${{ inputs.reviewers }}