Sign inSign up

starefossen/commit-message-ci

By starefossen

•Updated over 8 years ago

Simple CI server to validate the formatting of git commit messages

Image
2

2.7K

starefossen/commit-message-ci repository overview

⁠Git Commit Message CI

General purpose continuous integration (CI) server to validate commit message formatting for pull requests.

Valid Commit Message

⁠Features

  • Validate commit message formatting
  • Single sign on with GitHub authentication
  • Public and private repositories
  • GitHub pull request commit status integration

⁠Development

⁠Prerequisite
  • Docker > 1.8
  • Docker Compose > 1.5
⁠Environment

Put these environment variables in you .env.dev file.

  • APP_SECRET - Random Session Secret

GitHub OAuth

  • GH_OAUTH_CLIENT
  • GH_OAUTH_SECRET
  • GH_OAUTH_RANDOM - Random OAuth Secret

GitHub Test Repo

  • TEST_APP_NAME - Repo Name (user/repo)
  • TEST_APP_DESC - Repo Description

GitHub Test User

  • TEST_USER_ID
  • TEST_USER_NAME
  • TEST_USER_EMAIL
  • TEST_USER_TOKEN - OAuth Access Token
⁠Test
docker-compose run --rm dev npm test

⁠MIT Licensed⁠

Tag summary

Content type

Image

Digest

sha256:ff2d7205d…

Size

113.3 MB

Last updated

over 8 years ago

docker pull starefossen/commit-message-ci