I'd like to open a discussion to get everyone's thoughts about applying
additional restrictions on branches that should be considered protected.

The following branches would be considered protected:

- master
- Release Branches

What does locking down a branch mean?

- Restrict deletions - To prevent branches from accidentally being
  deleted.
- Block force pushes - To prevent force pushes that could overwrite or
  rewrite branch history.
- Require a pull request before merging - To ensure that all commits are
  submitted and reviewed through a pull request before landing into a
  protected branch.

Also, I believe ATR will be checking whether the branch or tag that the
workflow ran from was protected.
I don't think it would block the release if the branch was not protected
but would record a concern on the release.

Regards,
Bryan

Reply via email to