Похожие чаты

Hi Guys, Morning, Im having trouble with the git flow

which my team is using when integrating with CI/CD, normally we will run unit testing when there is merge request or pull request right? however my current team flow is like this

Case 1
Branch_1 PR to Dev (No Conflict) -> it will trigger the build and run the test

Case 2
Branch_2 PR to Dev (Found Conflict) -> it wont trigger the build because of the conflict
However we can't resolve the conflict directly on github. So we do the resolve manually by these commands
git checkout dev
git merge --no-ff feature/Branch_2
git push origin devAnd resolve it manually and push back to dev, github will automatically detect and close the PR becoz it is consider already Merge the PR

But if this is the way, than it will skip the unit testing, so how to resolve this kind of issue?

1 ответов

4 просмотра

Fail the build if a rebase is needed, don't do it auotmatically — OR use proper topic branches I always favor rebasing over merges personally —- linear histories are my jam

Похожие вопросы

Обсуждают сегодня

Вопрос по диагностике ошибок (я знаю в чем, в данном конкретном примере, я знаю, как исправить, пример модельный, понятно, что в реальности бывает намного запутаннее). module...
ⰄⰎⰋⰐⰐⰑⰛⰤⰧⰧⰩⰄ ⰊⰑⰁⰓⰡⰛⰦⰕⰫ
10
Тут кста кто-нибудь NeoVim использует?
Simple Sorcerer
13
А чем вам питонисты не угодили?😂
.
79
Есть какой-нибудь для Delphi/FPC T*Compression(Decompression)Stream на базе LZ4/Zstd/любой другой быстрый(и хорошо сжимающий) алгоритм А ещё лучше в pure pascal А ещё лучше од...
notme
52
New Hedera drama. Is Hashinals on chain or not on chain?
Perfect Ability
15
Can someone explain me the difference of the stated quote on Quants homepage between R3 and Quant? „R3 brings its ability to deliver complex pioneering projects for regulate...
Carlson
2
Asus, норм фирма для ноутов?
Артем Записной
20
guys, why is it taking days for my node to sync? is this normal?
Big Chiano
10
А дальше что?.. Записать в файл, потом в Код?.. И потом разбирать как-то?..
Хаскель Моисеевич Гопник
14
Ребят немного глупый вопрос, но я правильно понимаю что неполнота по геделю означает наличие парадокса?
Smith
9
Карта сайта