All Projects β†’ heptiolabs β†’ sign-off-checker

heptiolabs / sign-off-checker

Licence: Apache-2.0 license
A GitHub integration to ensure commits have "Signed-off-by"

Programming Languages

Makefile
30231 projects
go
31211 projects - #10 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to sign-off-checker

Hamster
πŸ€ A Bot toolkit for github that supports OAuth, Events, API, Custom Commands and Check Runs.
Stars: ✭ 40 (+17.65%)
Mutual labels:  github-bot
tailor
GitHub bot that validates patches before they can be merged
Stars: ✭ 18 (-47.06%)
Mutual labels:  github-bot
aloba
πŸ€– [Myrmica Aloba 🐜] Bot: Add labels and milestone on pull requests and issues.
Stars: ✭ 18 (-47.06%)
Mutual labels:  github-bot
scalafmt-probot
πŸ€–Github bot for checking code formatting with scalafmt
Stars: ✭ 15 (-55.88%)
Mutual labels:  github-bot
gitbot
The most popular Discord dev toolkit with 400k+ users πŸš€βœ¨
Stars: ✭ 59 (+73.53%)
Mutual labels:  github-bot
labhub
GitHub bot for using GitLab CI in OSS projects
Stars: ✭ 31 (-8.82%)
Mutual labels:  github-bot
BastionGitHubBot
πŸš€ A GitHub bot to automate common tasks in GitHub.
Stars: ✭ 15 (-55.88%)
Mutual labels:  github-bot
telegram-github-search-bot
A Github search bot for Telegram
Stars: ✭ 67 (+97.06%)
Mutual labels:  github-bot
GitInfo-Git-for-Google-Assistant
GitInfo is a conversational data retrieval bot for Github repositories. It provides a conversational experience to access information. Information that can be retrieved using GitInfo include: stars, latest commit details , no of forks , no of issues etc.
Stars: ✭ 18 (-47.06%)
Mutual labels:  github-bot
dx-automator
A tool for managing priorities across multiple GitHub repositories
Stars: ✭ 14 (-58.82%)
Mutual labels:  github-bot
chewbacca
Chewbacca GitHub Bot
Stars: ✭ 16 (-52.94%)
Mutual labels:  github-bot
term-check
A GitHub app which runs checks for flagged terminology in GitHub repos
Stars: ✭ 19 (-44.12%)
Mutual labels:  github-bot
rebasebot
A GitHub bot that rebases your branches
Stars: ✭ 43 (+26.47%)
Mutual labels:  github-bot
github-clear-merged-pull-requests
Clear merged pull requests ref (branch) on GitHub
Stars: ✭ 12 (-64.71%)
Mutual labels:  github-bot
background-check
A GitHub App built with probot that peforms a "background check" to identify users who have been toxic in the past, and shares their toxic activity in the maintainer’s repo.
Stars: ✭ 27 (-20.59%)
Mutual labels:  github-bot
container-builder-github-ci-status
Google Cloud Function responds to PubSub events on the cloud-builds topic to update GitHub CI status.
Stars: ✭ 23 (-32.35%)
Mutual labels:  github-bot
AwesomeCompiler
The Big list of the github, open-source compilers.
Stars: ✭ 27 (-20.59%)
Mutual labels:  github-bot
size-plugin-bot
A Github bot for size-plugin
Stars: ✭ 76 (+123.53%)
Mutual labels:  github-bot
github-bot
This is a github bot that helps with managing issues, used on
Stars: ✭ 29 (-14.71%)
Mutual labels:  github-bot
issuelabeler
A GitHub bot to label issues automatically based on title and body against list of defined labels. System status (https://status.verticalaxisbd.com/)
Stars: ✭ 23 (-32.35%)
Mutual labels:  github-bot

sign-off-checker

This is a simple Go server that listens for web hooks from GitHub for PRs. It then looks at each commit in that PR and sets a status. If all of the commits have a "Signed-off-by" line on them then it marks all of those commits as "success". If any one of them is missing the "Signed-off-by" line then all are marked as "failed".

The status check points to a "CONTRIBUTING.md" file in the repo in question.

Building

You can just go get github.com/heptio/sign-off-checker/cmd/sign-off-checker to get the binary installed locally. To build a docker container do make push REGISTRY=<my-gcr-regisry> from this repo.

Running

There are two environment variables that need to be set when running:

  • SHARED_SECRET: Set this to a random value that you supply as the "secret" when configuring the webhook.
  • GITHUB_TOKEN: Set this to an personal access token for a github user that has access to the repo in question. The webhook doesn't include details of the commits so we have to fetch them. Unforutnately this requires full read/write repo access scope even though we are just reading. Create one of these at https://github.com/settings/tokens.

Run the server someplace. It'll listen at http://<example.com>/webhook. Now head on over to the settings tab of your repo and add a webhook. The Payload URL should be set to the URL. The content type should be application/json and the secret should be the secret above. Select "individual events" and check "Pull request". If things are working you can check the status of the webhook from Githubs point of view on that page.

Build stuff

Taken from https://github.com/thockin/go-build-template

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].