sharkio-dev / sharkio

Sharkio is an API proxy for your development environments. It records all the requests that are sent to your API. It allows you to replay the requests easily. Generate types, documentation, test suites, And interact with your API using AI.
https://sharkio.dev/
MIT License
5 stars 1 forks source link

Add GitHub Rules & setup for auto-delete branch post PR merge feature #168

Closed SID262000 closed 1 year ago

SID262000 commented 1 year ago

Is your feature request related to a problem? Please describe. Too many feature branches are showing up as part of the main repo. Describe the solution you'd like A clear and concise description of what you want to happen. We can simply auto-delete each branch once the PR from it is merged into the main branch Describe alternatives you've considered No alternative approach exists at the moment, although many prefer to retain the feature branch

shravan20 commented 1 year ago

@SID262000: This is already added as part of custom repo settings

SID262000 commented 1 year ago

@shravan20 I had a meeting with @idodav & looks like we don't have it. In case you feel its already in place, feel free to paste a snapshot here, Thanks

idodav commented 1 year ago

@SID262000 we have branch protection rules. Do you have any reference to how we can setup auto delete after merge to main?

shravan20 commented 1 year ago

image

This is the PR merged yesterday, which was auto deleted after merge if i am not wrong

shravan20 commented 1 year ago

@SID262000 we have branch protection rules. Do you have any reference to how we can setup auto delete after merge to main?

Just in case if this is not happening, @idodav: Adding the reference

idodav commented 1 year ago

@shravan20 the branch was deleted manually by me. I now activated: Automatically delete head branches feature. Thanks 😁

SID262000 commented 1 year ago

@idodav Do we have the rules in place apart from the branch rules setup, yesterday when we explored, we saw it was empty.

idodav commented 1 year ago

@SID262000 added this. I'm closing this issue. Thanks.