Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/zimmi48/certified-origin
- Owner: Zimmi48
- Created: 2017-12-26T16:56:48.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-27T00:18:12.000Z (about 7 years ago)
- Last Synced: 2024-11-06T07:03:36.274Z (2 months ago)
- Language: Shell
- Homepage:
- Size: 62.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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).