Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.

Starefossen/commit-message-ci

Repository files navigation

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

About

🐵 Simple CI server to validate the formatting of git commit messages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published