-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Delete branch on PR merge #109
Comments
Addressed in #113 |
Unfortunately the documentation in jessfraz/branch-cleanup-action is out of date. I've taken a pass at following the syntax, but the action is not actually deleting the branch at the moment https://github.com/sous-chefs/meta/blob/master/.github/workflows/main.yml Something to poke some more and see if maybe it needs a |
Thank you @PowerSchill for solving this one - needed to be run on |
Reopening so I can track implementation. |
Github now supports this natively but did not expose the setting in the v3 or v4 api. |
I can confirm it's there in the settings. So much for a cool GitHub action to take care of it |
Yeah, I saw that but also noticed the terraform provider for GitHub didn't seem to support that setting. The actions do open up possibilities for other things so as a learning experience it was valuable. |
all merged |
We decided to use the github action route to auto delete branches as the github api does not have the delete branch setting exposed and so we can't work that into the terraform provider |
Add the github action to remove merged branches.
The text was updated successfully, but these errors were encountered: