Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create backport branches in a fork #120

Open
laeubi opened this issue Mar 7, 2024 · 1 comment
Open

Create backport branches in a fork #120

laeubi opened this issue Mar 7, 2024 · 1 comment

Comments

@laeubi
Copy link

laeubi commented Mar 7, 2024

According to this: https://github.com/sorenlouv/backport/blob/main/docs/config-file-options.md#fork
The backport action should create the PRs in its own fork, we use it here with a PAT: eclipse-tycho/tycho#3547

but the branches are created in the main repository while I would expect it to be placed in a forked one of the bot.

This currently leads to branches piling up what is not nice: https://github.com/eclipse-tycho/tycho/branches

@sorenlouv
Copy link
Owner

Hi there

I can see how this is currently a bit confusing. The default is to fork (fork:true). I think for the github action we wanted to have the opposite so fork:false.

It would be ideal if you could just specify fork: true in the github action options but it looks like that is not possible. Instead try adding repoForkOwner: eclipse-tycho-bot to the workflow file:
https://github.com/eclipse-tycho/tycho/blob/main/.github/workflows/backport.yml#L28C11-L28C33

Let me know how it goes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants