xorpaul / g10k

my r10k fork in Go
Apache License 2.0
125 stars 50 forks source link

Raise an error on missing branch #160

Closed pmuller closed 4 years ago

pmuller commented 4 years ago

Hello,

We currently use warn_if_branch_is_missing: true but when we get that warning, the rest of our workflow fails because the branch is missing. Would it be possible to have a error_if_branch_is_missing parameter, so our workflow would be interrupted with proper error reporting when a branch is missing?

Thanks!

xorpaul commented 4 years ago

Done.

Checkout https://github.com/xorpaul/g10k/releases/tag/v0.8.12

I'm thinking about changing the default behaviour to this, but I'm still undecided. :thinking: