Skip to content

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

Description

@rpbarlow-credible

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions