Open bhearsum opened 1 year ago
Is the issue here that we should be passing --base-ref=dev-enabled-more-branches
instead of --base-ref=refs/heads/dev-enable-more-branches
?
Yeah, that's another possible solution. run-task
might be able to cope with the scenario better as well. (I haven't given this too much thought - just wanted to get it on file.)
The cookiecutter file sets
base_ref
andbase_rev
. This puts us into this block of run-task which ultimately runs a command like:git fetch origin refs/heads/dev-enable-more-branches
- which fails, because only the main branch of a repository has an entry inrefs/heads
. Anywhere that I've found that has pushes to non-main branches ends up omitting these parameters altogether, eg: Mozilla VPN.Full log of a failed decision task included for completeness: