From 2bd570c93bf7b50a03608337684b2996294e35e8 Mon Sep 17 00:00:00 2001 From: Tomas Sebestik Date: Mon, 31 Jul 2023 12:48:14 +0200 Subject: [PATCH] ci(danger/precommit): Update incorrect scope message in commit message Danger check Updated ' hook version --- .gitlab/dangerjs/mrCommitsCommitMessage.js | 2 +- .pre-commit-config.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab/dangerjs/mrCommitsCommitMessage.js b/.gitlab/dangerjs/mrCommitsCommitMessage.js index ac87b32c69..14ac0a1a2d 100644 --- a/.gitlab/dangerjs/mrCommitsCommitMessage.js +++ b/.gitlab/dangerjs/mrCommitsCommitMessage.js @@ -82,7 +82,7 @@ module.exports = async function () { break; case "scope-case": issuesSingleCommitMessage.push( - `- *scope/component* should start with a lowercase letter` + `- *scope/component* should be lowercase without whitespace, allowed special characters are \`_\` \`/\` \`.\` \`,\` \`*\` \`-\` \`.\`` ); break; case "subject-empty": diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b989954b0d..431920425c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -169,7 +169,7 @@ repos: - id: check-copyright args: ['--ignore', 'tools/ci/check_copyright_ignore.txt', '--config', 'tools/ci/check_copyright_config.yaml'] - repo: https://github.com/espressif/conventional-precommit-linter - rev: v1.2.0 + rev: v1.2.1 hooks: - id: conventional-precommit-linter stages: [commit-msg]