update: add nixpkgs commit in title

This commit is contained in:
ibizaman 2026-05-13 10:52:04 +02:00 committed by Pierre Penninckx
parent 6bec01a954
commit 672b536390

View file

@ -141,7 +141,7 @@ writeShellApplication {
current_commit="$(get_main_branch_commit)" current_commit="$(get_main_branch_commit)"
gh pr create \ gh pr create \
--title "Update nixpkgs" \ --title "update nixpkgs to $test_commit" \
--body "$(printf "%s\n\n%s" "Automated nixpkgs update. Latest tries:" " - https://github.com/NixOS/nixpkgs/compare/$current_commit...$test_commit")" \ --body "$(printf "%s\n\n%s" "Automated nixpkgs update. Latest tries:" " - https://github.com/NixOS/nixpkgs/compare/$current_commit...$test_commit")" \
--label automerge-merge --label automerge-merge
} }
@ -182,6 +182,10 @@ writeShellApplication {
else else
future_text="bisected in the past" future_text="bisected in the past"
fi fi
gh pr edit "$pr" \
--title "update nixpkgs to $test_commit"
append_pr_body "$pr" \ append_pr_body "$pr" \
" \n - https://github.com/NixOS/nixpkgs/compare/$current_commit...$test_commit ($future_text)" " \n - https://github.com/NixOS/nixpkgs/compare/$current_commit...$test_commit ($future_text)"
} }