From 8dbd28ad63c1ff7929b10c6fcf596d638db72b1c Mon Sep 17 00:00:00 2001 From: Ben Jefferies Date: Fri, 15 Nov 2019 11:04:29 +0000 Subject: [PATCH] Add branch protection bot A bot tool to temporarily disable and re-enable "Include administrators" option in branch protection Github doesn't have a way to give a Bot access to override the branch protection, specifically if you include administrators. The only possible solution is to disable the include administrators option. This increases risk of accidental pushes to master from administrators (I've done it a few times). This tool doesn't completely solve the problem of accidents happening but reduces the chances by closing the window. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 3161912..a5fe2fe 100644 --- a/README.md +++ b/README.md @@ -195,6 +195,7 @@ https://github.com/sdras/awesome-actions/workflows/Lint%20Awesome%20List/badge.s - [Restrict cursing action](https://github.com/sobolevn/restrict-cursing-action) - Moderator bot for your project, automatically removes bad language. - [Publish GitHub release artifacts](https://github.com/skx/github-action-publish-binaries) - [Jekyll Diff Action](https://github.com/David-Byrne/jekyll-diff-action) - Diffs the built Jekyll site after a change, and comments the result back to GitHub. +- [Branch Protection Bot](https://github.com/benjefferies/branch-protection-bot) - Temporarily disable and re-enable "Include administrators" option in branch protection ### Testing and Linting