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

temporary branches #499

Open
bnb opened this issue Feb 1, 2022 · 1 comment
Open

temporary branches #499

bnb opened this issue Feb 1, 2022 · 1 comment

Comments

@bnb
Copy link
Contributor

bnb commented Feb 1, 2022

I consistently find myself wanting to run an action on a temporary, ephemeral branch that pulls from my default branch and only exists for the lifespan of the Action/PR. It would really be amazing to be able to define a temporary branch name that the Action would either create when it runs or overwrite if it already exists.

@gr2m
Copy link
Owner

gr2m commented Feb 2, 2022

only exists for the lifespan of the Action/PR

do you want a pull request be created, but then immediately delete the branch? This would immediately close the PR

either create when it runs or overwrite if it already exists

that should already be the case today? Maybe not the overwrite, we amend. So if the changes are entirely unrelated, they might conflict. We could add an option to overwrite (delete & re-create), but I would need to better understand your use case

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