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?
I tried using this extension to merge some dependabot pr's using the
--dependabotflag.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-currentat some point and getscombined-prs-workingback, and when it later tries to dogit fetch --no-tags --depth=100 origin master combined-prs-workingit fails withfatal: couldn't find remote ref combined-prs-workingWhen I check out the
combinded-prsbranch locally and try to rungit branch --show-currentI getcombinded-prs(as expected).So the question is, why does the current branch command run by the GHA return
combinded-prs-working?