Skip to content

Feature request: Skip only same ref #72

@tschuchortdev

Description

@tschuchortdev

Hi, I am using your GH action to try to prevent workflows with both push and pull_request trigger from running twice for a PR. The problem is that this also prevents the workflow from running again when the PR is eventually merged into master. Some jobs in the workflow (for example deployment) only run on the master branch and get cancelled even though they didn't run in the PR before. Would it be possible to add the option to only skip when the contents and ref are identical? I think this should be fairly easy to implement by adding another output variable same_ref so that users can combine this flag in an if expression however they like (I would do it myself but I don't know Typescript).

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