Uh oh!
There was an error while loading. Please reload this page.
chore: add /remove-skip-ci command for backport workflows - #56101
Conversation
The existing /compile amend command removes [skip ci] but merges the compile step with the changes themselves which is not ideal to maintain a cleaner history. Sometimes GitHub reviews are sufficient to confirm a backport without need to pull and ammend locally in the case where the developer prefers not to squash the compile step. This new command allows removing [skip ci] from commits without triggering asset compilation. Signed-off-by: nfebe <fenn25.fn@gmail.com>
9cfda10 to
8bf8b01CompareIf
Or did I miss something else? :) |
nfebe
commented
Oct 30, 2025
True but there is code in the Additionally in this function : https://github.com/nextcloud/backportbot/blob/master/src/gitUtils.ts#L83 It appears that we always try to backport all commits including The commit is always dropped for (compiled files as they conflict) but the So it seems ALL PRs with compiled assets (which is always conflicting across versions) always have skip-ci but the main and important code is not always conflicting so local resolution is not always necessary.
Not hundred percent sure beyond what I explained above, my I definitely encounter commits with [skip-ci] that do not need any local handling a lot of times. |
susnux
commented
Nov 3, 2025
But the (except when you commit compiled assets within the source commit, but thats not that nice anyways) |
It's added to the head commit if there is a conflict in any one commit. (Usually the compile step) which is then removed as it impossible to resolve, leaving a PR without a conflict with the marker behind. |
skjnldsv
commented
Nov 4, 2025
Seems like a fix for the bot then? https://github.com/nextcloud/backportbot |
nfebe
commented
Dec 15, 2025
Here is an example of a PR with no conflict that gets marked due to a dropped/empty compile commit: #56974
Sounds right, will leave this open till I can link a fix from that end. Thanks |
The existing /compile amend command removes [skip ci] but merges the compile step with the changes themselves which is not ideal to maintain a cleaner history. Sometimes GitHub reviews are sufficient to confirm a backport without need to pull and ammend locally in the case where the developer prefers not to squash the compile step.
This new command allows removing [skip ci] from commits without triggering asset compilation.