Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/zimmi48/certified-origin

Limit to one pusher thanks to certified-origin GitHub status check
https://github.com/zimmi48/certified-origin

Last synced: 17 days ago
JSON representation

Limit to one pusher thanks to certified-origin GitHub status check

Awesome Lists containing this project

README

        

# Limit to one pusher thanks to certified-origin GitHub status check

Piggy-back on GitHub required status check to restrict pushing
to just one user, even when there are other administrators of the
repository.

## How to use?

1. Create a personal access token in your personal settings (sub-section: "Developer settings"). Select `repo:status`.
![Scopes](scopes.png)
1. Copy `certify-origin.sh` to `.git/hooks/pre-push` and fill the missing information.
2. Push at least one new commit.
3. Protect your branch in your repository settings (sub-section: "Branches").
![Protecting a branch](protected-branch.png).