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

Add branch deletion exceptions #194

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

michael-huang87
Copy link
Contributor

@michael-huang87 michael-huang87 commented Jul 1, 2024

Summary

#193 started deleting "main" branches when PRs were being made from that branch. Add some logic to ignore deletion logic for certain branches. We could maybe make this configurable through an env variable but not sure how useful that would be

Asana tasks:
https://app.asana.com/0/1202309366996843/1207707608547616/f

Test Plan

Pull Request synchronized with Asana task

Copy link
Collaborator

@suzyng83209 suzyng83209 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not a huge fan of this change because its hardcoding branch names that may or may not be protected. You can deploy this as a temporary fix to unblock IT or deploy a version of SGTM without #193 but I'm going to talk to IT to see if we can find a better solution

@asana-sgtm asana-sgtm bot assigned michael-huang87 and unassigned suzyng83209 Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants