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

feat: deleting head branches automatically after PR merge #78

Open
vanshb03 opened this issue Jul 11, 2024 · 0 comments
Open

feat: deleting head branches automatically after PR merge #78

vanshb03 opened this issue Jul 11, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@vanshb03
Copy link
Contributor

vanshb03 commented Jul 11, 2024

Improvement

Current Process:

  • Github action creates HEAD branch
  • Admin creates PR
  • Admin merges PR
  • Admin manually closes the HEAD branch

Post feature Process:

  • Github action creates HEAD branch
  • Admin creates PR
  • Admin merges PR and it automatically deletes HEAD branch following the merge

Reference docs:

Managing the automatic deletion of branches

Feature setup process:

  • Navigate to the main page of the repository
  • Under your repository name, click Settings. If you cannot see the "Settings" tab, select the dropdown menu, then click Settings.
  • On the "General" settings page, you can find a section called "Pull Requests". Under "Pull Requests", select Automatically delete head branches.
@vanshb03 vanshb03 added the enhancement New feature or request label Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants