Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

pre-commit-circleci

Pre-commit hooks for CircleCI config validation and creation based around the circleci-cli.

Requirements

pre-commit-circleci requires:

Install

There are two hooks for operating on the CircleCI configuration:

  • circleci-validate will call circleci config validate on the configuration and report errors.
  • circleci-pack will call circleci config pack and add the resulting .circleci/config.yaml to the commit if files in .circleci/template/*.yaml have changed.

Add the following to your .pre-commit-config.yaml:

- repo: https://github.com/dominodatalab/pre-commit-circleci
  rev: v0.0.4
  hooks:
    - id: circleci-validate
    - id: circleci-pack

Contributing

Contributions are welcome! Please feel free to create a pull request or issue and we'll make sure to take a look.

About

Pre-commit hooks for CircleCI validation and packing.

Resources

Stars

0 stars

Watchers

5 watching

Forks

Releases

Packages

Contributors

Languages