Skip to content

Skip merge flow when the upstream latest tag is already merged on downstream #6

@arajkumar

Description

@arajkumar

This can be determined by calling the following api,

GET /repos/{owner}/{repo}/compare/{basehead}

e.g. openshift/thanos:master vs thanos-io/thanos:v0.22.0

curl -s https://api.github.com/repos/openshift/thanos/compare/{master}...{thanos-io:v0.22.0} -o - | jq .ahead_by

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions