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

Build: validation.git.failOnModified default to isCIBuild #2196

Merged

Conversation

dsmiley
Copy link
Contributor

@dsmiley dsmiley commented Jan 13, 2024

As discussed: https://lists.apache.org/thread/08bf2772cmh9pnvk667v6995qnh4m2v4

Inlined failOrWarn so I could use a dynamic default depending on isCIBuild

I tested this with setting the env var and not, and with the property both ways.

I also slightly optimized isCIBuild .

@dsmiley dsmiley merged commit b5db179 into main Jan 15, 2024
2 of 3 checks passed
@dsmiley dsmiley deleted the Build-validation.git.failOnModified-default-to-isCIBuild branch January 22, 2024 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants