mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-09 16:18:34 +01:00
workflows/bot: retry failed merges
By not keeping the node_id in the comments resulting from a failed merge, these merges will be automatically retried.
This commit is contained in:
parent
eea09eb9d3
commit
89ace76ff1
|
|
@ -230,6 +230,8 @@ async function handleMerge({
|
|||
try {
|
||||
body.push(`:heavy_check_mark: ${await merge()} (#306934)`)
|
||||
} catch (e) {
|
||||
// Remove the HTML comment with node_id reference to allow retrying this merge on the next run.
|
||||
body.shift()
|
||||
body.push(`:x: Merge failed with: ${e} (#371492)`)
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue