All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
/api/repos
endpoint/api/installs
endpoint
options
can now have a field calledskip
which can be used to skip (or not skip) all checks
{
"options": {
"detectPull": true,
"skip": true
}
}
This will skip all checks.
- The
skip
for each check overrides this globalskip
.
- The
detectPull
and the newly addedskip
fields inoptions
(as well as theskip
for each check) don't have to hold plainBoolean
values; they can holdString
values. If they holdString
values such values are expected to be JavaScript code snippets to be executed in the same manner checks are executed. The code snippet fordetectPull
does not have access to thepull
object.
{
"options": {
"detectPull": "commit.author.login.toLowerCase() !== 'greenkeeper[bot]'",
"skip": "commit.author.login.toLowerCase() === 'greenkeeper[bot]'"
}
}
This will skip all checks (and not bother detecting a pull request object) if the author of the commit is the greenkeeper bot.
- Bot is feature-complete and stable.