Skip to content

opzkit/pre-commit-buildkite-plugin

Repository files navigation

Pre-Commit Buildkite Plugin

A plugin to run pre-commit as part of a Buildkite pipeline.

By default pre-commit will run for files changed in a Pull Request for Pull Requests otherwise on all files. This can be overridden with the all parameter, causing all files to be checked on Pull Request runs.

Requirements

pre-commit is expected to be installed on your Buildkite worker.

Usage

Add the following to your pipeline.yml:

steps:
  - label: pre-commit
    plugins:
      - opzkit/pre-commit#v1.1.22

Or to run on all files even on PRs:

steps:
  - label: pre-commit
    plugins:
      - opzkit/pre-commit#v1.1.22:
        all: true

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages