Skip to content

git branch --show-current returns combined-prs-working instead of combinded-prs #49

Description

@torbjornvatn

I tried using this extension to merge some dependabot pr's using the --dependabot flag.

But I have a workflow in my repo that uses the paths-filter action to figure out which subfolders has changed in the PR. That action does a git branch --show-current at some point and gets combined-prs-working back, and when it later tries to do git fetch --no-tags --depth=100 origin master combined-prs-working it fails with fatal: couldn't find remote ref combined-prs-working

When I check out the combinded-prs branch locally and try to run git branch --show-current I get combinded-prs (as expected).

So the question is, why does the current branch command run by the GHA return combinded-prs-working?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions