Skip to content

elastic/pre-commit-buildkite-plugin

Repository files navigation

Pre-Commit Buildkite Plugin

A Simple opinionated plugin to run pre-commit as part of a BuidKite pipeline.

Pre-commit will run for changes in the PR for PRs and will run on all files when running on the main branch.

Requirements

pre-commit is expected to be installed on your Buildkite worker. The hermit-buildkite-plugin can be used to provision it on the fly.

Usage

Add the following to your pipeline.yml:

steps:
  - command: "<your-command>"
    plugins:
      - elastic/pre-commit#v1.0.1

About

No description, website, or topics provided.

Resources

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages