You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In building service B, we need some resources from service A. First we look for a branch in service A that matches the current branch of the build for service B. If that fails, we checkout a well known branch. This works correctly when the matching branch does not exist.
It fails, or rather doesn't do what we want, when the matching branch exists, but is then merged and deleted. The checkout-other-repo-part-1 step below will still find the deleted branch and it never makes it to the 2nd checkout.
I had deleted the branch using the GitHub UI, but it was still showing up w/ git branch --list --remote .... I've now deleted it with git push origin --delete ... and that has fixed the problem, it now fails through properly to the 2nd checkou.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In building service B, we need some resources from service A. First we look for a branch in service A that matches the current branch of the build for service B. If that fails, we checkout a well known branch. This works correctly when the matching branch does not exist.
It fails, or rather doesn't do what we want, when the matching branch exists, but is then merged and deleted. The
checkout-other-repo-part-1
step below will still find the deleted branch and it never makes it to the 2nd checkout.Is there any way I can prevent this?
edit: more info
I had deleted the branch using the GitHub UI, but it was still showing up w/
git branch --list --remote ...
. I've now deleted it withgit push origin --delete ...
and that has fixed the problem, it now fails through properly to the 2nd checkou.Beta Was this translation helpful? Give feedback.
All reactions