github / github/gh-combine

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

Open
#49 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
26
Forks
6
PR merge metrics
No merged PRs in 30d

Description

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](https://github.com/dorny/paths-filter/tree/master) 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`?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.