Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rpbarlow-credible opened this issue Apr 15, 2020 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@rpbarlow-credible
Copy link

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
@Logerfo Logerfo added the enhancement New feature or request label Apr 15, 2020
@Logerfo
Copy link
Owner

Logerfo commented Apr 15, 2020

@rpbarlow thank you.

@Logerfo Logerfo added the good first issue Good for newcomers label Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants