[Bug 46860] Jenkins: Set up job in gate-and-submit to avoid submitting "DRAFT" or "WIP" commits
| Newsgroups | gmane.org.wikimedia.mediawiki.bugs |
|---|---|
| Message-ID | <[email protected]/> |
https://bugzilla.wikimedia.org/show_bug.cgi?id=46860 --- Comment #5 from C. Scott Ananian <[email protected]> --- (In reply to Antoine "hashar" Musso (WMF) from comment #4) > Revisiting after a while: Zuul does not have support to prevent merge based > on a the content of the commit message. Really? The Jenkins jobs have a full git checkout, so presumably you could write a jenkins job for gate-and-submit that runs: git log --oneline | head -1 | fgrep -q WIP The actual test would be a little more complicated, since you'd want to be sure you were looking at the right side of a merge commit, but either HEAD^1 or HEAD^2 would name the actual patch you're committing in that case. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l