create-or-update-pull-request-action icon indicating copy to clipboard operation
create-or-update-pull-request-action copied to clipboard

temporary branches

Open bnb opened this issue 3 years ago • 1 comments

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.

bnb avatar Feb 01 '22 20:02 bnb

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

gr2m avatar Feb 02 '22 21:02 gr2m