Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable configuration for no local hook or plugin failure behavours #2936

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

wolfeidau
Copy link
Contributor

Description

Currently if you block local hooks or plugins the build fails, however there are cases during migration where you may want to just print a warning for the developer while still not executing hooks or plugins.

Context

This change enables teams to block local hooks without breaking the build.

Changes

This change adds a couple of new flags which allow configuration of the failure behaviour to either "error" or "warn".

Testing

  • Tests have run locally (with go test ./...). Buildkite employees may check this if the pipeline has run automatically.
  • Code is formatted (with go fmt ./...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant