Skip to content

Commit

Permalink
fix(tooling): disable commitlint for greenkeeper pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
ianwremmel committed Dec 2, 2017
1 parent 8948980 commit b34738f
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
module.exports = {
extends: [
'@commitlint/config-angular'
]
};
if (process.env.CIRCLE_BRANCH && process.env.CIRCLE_BRANCH.includes('greenkeeper')) {
module.exports = {};
}
else {
module.exports = {
extends: [
'@commitlint/config-angular'
]
};
}

0 comments on commit b34738f

Please sign in to comment.