Skip to content

[Bug]: when cleaning up PRs with is_pr_cleanup: true, switches to main on PR cleanup #529

@kanno41

Description

@kanno41

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

I had an old PR existing and tried to have it clean up the old PR. However, when it cleaned up the PR, it switched the branch to main. I am using a GitHub App.
template-sync-bug

Expected Behavior

PR should be created from created chore branch

Current Behavior

See Description

Steps To Reproduce

No response

Possible Solution

unsure, theoretically is_keep_branch_on_pr_cleanup: true should work for me, but it is also has a bug (#528)

Additional Information/Context

I am using is_force_push_pr: true. I don't really want to force push, I want to delete the branch first in all cases (which is essentially a force push, I suppose).

Template sync version Version

2.2.0

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions