Unverified Commit 170eb350 authored by youkaichao's avatar youkaichao Committed by GitHub
Browse files

[misc] print a message to suggest how to bypass commit hooks (#12217)


Signed-off-by: default avataryoukaichao <youkaichao@gmail.com>
parent b37d8279
...@@ -34,6 +34,10 @@ repos: ...@@ -34,6 +34,10 @@ repos:
hooks: hooks:
- id: pymarkdown - id: pymarkdown
files: docs/.* files: docs/.*
- repo: https://github.com/rhysd/actionlint
rev: v1.7.6
hooks:
- id: actionlint
- repo: local - repo: local
hooks: hooks:
- id: mypy-local - id: mypy-local
...@@ -81,7 +85,8 @@ repos: ...@@ -81,7 +85,8 @@ repos:
entry: tools/png-lint.sh entry: tools/png-lint.sh
language: script language: script
types: [png] types: [png]
- repo: https://github.com/rhysd/actionlint - id: suggestion
rev: v1.7.6 name: Suggestion
hooks: entry: bash -c 'echo "To bypass pre-commit hooks, add --no-verify to git commit."'
- id: actionlint language: system
verbose: true
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment