It may be worth considering to protect the main branch from force pushing or deletion, or require status checks before merging. See https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/about-rulesets for details.
It may be worth considering to protect the main branch from force pushing or deletion, or require status checks before merging. See https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/about-rulesets for details.