gitflow-action icon indicating copy to clipboard operation
gitflow-action copied to clipboard

RFE: Provide a clear error message if the config references a branch that does not exist

Open rpbarlow-credible opened this issue 5 years ago • 1 comments

Greetings!

In #33, I encountered a strange error message when I used a branch name that didn't exist in my repo in my gitflow-action configuration:

##[error]Validation Failed: {"resource":"PullRequest","field":"base","code":"invalid"}

I suggest detecting this condition and reporting a clearer error message. Something similar to this would be helpful:

Error: Setting 'dev' references a branch that does not exist: devel

rpbarlow-credible avatar Apr 15 '20 18:04 rpbarlow-credible

@rpbarlow thank you.

Logerfo avatar Apr 15 '20 18:04 Logerfo