#2 Deploy the tip of main, not the webhook's merge_commit_sha

Liitetty
bajdev liitetty 1 sitoutusta lähteestä bajdev/fix/deploy-main-tip kohteeseen bajdev/main 21 tuntia sitten
bajdev kommentoitu 21 tuntia sitten

Gogs sets merge_commit_sha to the head branch's commit, not the merge commit, so the first real release deployed 0bfb14e instead of the merge f9f3973. That's harmless when the trees match, but with two PRs branched from the same main, the second release would drop the first PR's changes. deployd now always releases origin/main, and the head commit is logged for reference. test.sh adds the two-PR case (23 checks). README and tests updated.

Gogs sets merge_commit_sha to the head branch's commit, not the merge commit, so the first real release deployed 0bfb14e instead of the merge f9f3973. That's harmless when the trees match, but with two PRs branched from the same main, the second release would drop the first PR's changes. deployd now always releases origin/main, and the head commit is logged for reference. test.sh adds the two-PR case (23 checks). README and tests updated.
Tämä vetopyyntö on liitetty onnistuneesti!
Kirjaudu sisään osallistuaksesi tähän keskusteluun.
Ei leimaa
Ei merkkipaalua
Ei osoitettua
1 osallistujaa
Ladataan...
Peruuta
Tallenna
Sisältöä ei vielä ole.