Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nkalupahana/branchprotection

A GitHub Actions-based branch protection system.
https://github.com/nkalupahana/branchprotection

Last synced: 5 days ago
JSON representation

A GitHub Actions-based branch protection system.

Awesome Lists containing this project

README

        

# Branch Protection
A GitHub Actions-based branch protection system.

[![Branch Protection](https://github.com/nkalupahana/branchProtection/actions/workflows/branchprotection.yml/badge.svg)](https://github.com/nkalupahana/branchProtection/actions/workflows/branchprotection.yml)

## Model
- `codeowners.json` defines who can merge into which branch. These are the people who must merge in PRs into those branches.
- People who don't have permission to add commits to some branch will have their commits reverted by the action. The action will then return a non-zero exit code to send an email to the commiter that their code got rejected.