update: add nixpkgs commit in title
This commit is contained in:
parent
6bec01a954
commit
672b536390
1 changed files with 5 additions and 1 deletions
6
.github/workflows/update-flake-lock-pr.nix
vendored
6
.github/workflows/update-flake-lock-pr.nix
vendored
|
|
@ -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)"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue