Skip to content

Feature Proposal: Match Branch when checking for PRΒ #8

@jeacott1

Description

@jeacott1

if I have 2 branches, one with a PR associated with it, and one not,
and I push the same commit to both branches in github.

expected - when the action executes one of the branches should detects a PR exists and return a number, the other one should not.

actual - both branches find the same associated PR and return the same associated PR number.

this makes using this scheme kinda dangerous, as side-effects - publishing, overwriting pre-release artifacts etc will occur from unexpected branches.

a convenience option to compare the head.label or ref with the current branch would be very helpful.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions