-
Notifications
You must be signed in to change notification settings - Fork 50
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
Add CI property #208
Comments
Has anyone figured out a workaround for now? 😄 |
I'll see about adding this feature now. Unless you are interested in how to do it @harrisrobin |
To @harrisrobin 's credit, I'm trying to knock out some outstanding issues today, and I accidentally started with this one. Kudos for the effort, and happy to help you with a separate PR if you're interested |
Would this be the correct usage? The following code fails when I run it as a part of my CI. "Git Hooks": [
{
"rule": "shell",
"command": "git config --local --get core.hooksPath",
"match": ".githooks",
"error": "Run `git config core.hooksPath .githooks` to add the Git Hooks to your project",
"ci": false
}
] |
@nonameolsson - what version do you have? |
@GantMan We use |
if I set
ci
tofalse
in the JSON, then ignore that check when running on a machine where the environment has CI=trueThis is needed because though a platform matches, some CI's don't have all the needed features. Android/Environment etc. So we'll flag these as OK on CI only.
The text was updated successfully, but these errors were encountered: