Skip to content

Using workflow file from default branch #228

Open
@ZIJ

Description

@ZIJ

From the user discussion @Spartakovic

... when github triggers action on comments it’s using workflow file on the default branch, meaning it will use action version that is set on the default branch, which in turn might make it to use version that is different from your pull request action version

This seems to be unintuitive behavior. If a PR is raised and comment is added it's reasonable to expect that it will all be executed in the context of said branch. If for example I'm testing a workflow change that is only present in a particular circumstance, I'd make a branch with changes to reproduce and naturally would expect workflow file to work together with the code in the branch.

We may want to address it in fugure features; for now just capturing so it doesn't get lost @motatoes

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestneed for backendtracking issues addressing which would require an orchestrating backendneeds scoping

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions