Verified Commit cacdad83 authored by Adrian DC's avatar Adrian DC
Browse files

chore(pre-commit): migrate to 'pre-commit-crocodile' 8.2.0



Signed-off-by: default avatarAdrian DC <radian.dc@gmail.com>
parent 83fc2c49
Loading
Loading
Loading
Loading
+19 −14
Original line number Diff line number Diff line
---
commitizen:

  # commitizen configurations
  always_signoff: true
  bump_message: 'docs(changelog): regenerate release tag changes history'
@@ -21,6 +20,7 @@ commitizen:
  #  - Breaking change reimplemented with the standard '!' scope suffix
  #  - Questions simplified for professional usage
  #  - Type 'security' implemented for security related commits
  #  - Type 'deps' implemented for dependencies related commits
  #  - Accept temporary commits starting with 'wip' or 'WIP'
  name: cz_customize
  customize:
@@ -50,8 +50,10 @@ commitizen:
      - security: Changes resolve security related issues
      - test: Adding missing or correcting existing tests
      - build: Changes to the build system or dependencies (example: makefile, pip, docker)
      - deps: Changes to the dependencies (example: requirements, package, renovate)
      - ci: Changes to CI configuration files and scripts (example: gitlab-ci)
      - improvement: Changes that improve sources without any impact
      - revert: Changes that revert a previous commit
      - wip: Temporary commits meant for local developments and rebases

      ### Commit scope
@@ -124,6 +126,9 @@ commitizen:
          - value: build
            name: 'build: Changes to the build system or dependencies (example: makefile, pip, docker)'
            key: b
          - value: deps
            name: 'deps: Changes to the dependencies (example: requirements, package, renovate)'
            key: n
          - value: ci
            name: 'ci: Changes to CI configuration files and scripts (example: gitlab-ci)'
            key: c
@@ -163,7 +168,7 @@ commitizen:
      (?s)\
      ^([Ww][Ii][Pp]).*$\
      |\
      (fix|feat|chore|docs|style|refactor|perf|test|build|ci|improvement|security|revert)\
      (fix|feat|chore|docs|style|refactor|perf|security|test|build|deps|ci|improvement|revert)\
      (\\([^\\n\\r]+\\))\
      !?\
      :\
@@ -176,13 +181,13 @@ commitizen:

  # commitizen styles
  style:
    - ["qmark", "fg:#FF9D00 bold"]
    - ["question", "bold"]
    - ["answer", "fg:#FF9D00 bold"]
    - ["pointer", "fg:#FF9D00 bold"]
    - ["highlighted", "fg:#FF9D00 bold"]
    - ["selected", "fg:#CC5454"]
    - ["separator", "fg:#CC5454"]
    - ["instruction", ""]
    - ["text", ""]
    - ["disabled", "fg:#858585 italic"]
    - ['qmark', 'fg:#FF9D00 bold']
    - ['question', 'bold']
    - ['answer', 'fg:#FF9D00 bold']
    - ['pointer', 'fg:#FF9D00 bold']
    - ['highlighted', 'fg:#FF9D00 bold']
    - ['selected', 'fg:#CC5454']
    - ['separator', 'fg:#CC5454']
    - ['instruction', '']
    - ['text', '']
    - ['disabled', 'fg:#858585 italic']
+1 −1
Original line number Diff line number Diff line
include:
  - component: gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commits@8.0.1
  - component: gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commits@8.2.0
    inputs:
      stage: prepare
  - project: RadianDevCore/gitlab-ci/components
+1 −1
Original line number Diff line number Diff line
@@ -92,7 +92,7 @@ repos:

  # Repository: pre-commit-crocodile
  - repo: https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile
    rev: 8.0.1
    rev: 8.2.0
    hooks:
      - id: check-yaml-ruamel-pure
      - id: prepare-commit-message