Skip to content

Commit

Permalink
ci(commitlint): ignore dependabot's commit messages (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
Serpentiel authored Jan 21, 2024
1 parent 32b477d commit ccb4269
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
<!-- markdownlint-disable-next-line -->
<!-- ### Fixed -->

- Ignore dependabot's commit messages in `commitlint` check

<!-- markdownlint-disable-next-line -->
<!-- ### Security -->

Expand Down
4 changes: 4 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
extends: ["@commitlint/config-conventional"],
ignores: [(msg) => /Signed-off-by: dependabot\[bot]/m.test(msg)],
};

0 comments on commit ccb4269

Please sign in to comment.