Skip to content

PR creation should not fail when there are no commits #171

@sethumadhav07

Description

@sethumadhav07

Hi @thomaseizinger

I feel the PR creation should not report as failure when it has no commits to create a PR. Instead, it should succeed and report as a warning.

Currently it reports with below error and reports as failure in workflow. In automation, there could be scenarios where we can/cannot create a PR and i feel it would be nice if this github action be able to handle both.

Error: Validation Failed: {"resource":"PullRequest","code":"custom","message":"No commits between master and release-1.6"}

what do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions