Oh yeah totally, my wording might have been a bit off I was talking about PRs to any of the main branches (the ones you mentioned)
People can do whatever they want on their own feature branch but when it's time to push the code into one of them then they gotta pass all the checks first
That's sorta what we did at my job. If you have warnings, it will still successfully build and run the tests, but a check at the end of the CI pipeline will fail the pipeline if you have introduced warnings. And as long as the pipeline is failing, you can't merge. But yeah, that does mean we get a pipeline failure message even if we haven't created an MR yet.
View all comments
Show parent comment
12
u/FabioTheFox 13h ago
Oh yeah totally, my wording might have been a bit off I was talking about PRs to any of the main branches (the ones you mentioned)
People can do whatever they want on their own feature branch but when it's time to push the code into one of them then they gotta pass all the checks first