mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-25 09:12:38 +02:00
pre-commit add chmod 644 manual hook for Markdown (#11651)
This commit is contained in:
parent
e7b8326058
commit
941227ec8c
2
.github/workflows/linter.yml
vendored
2
.github/workflows/linter.yml
vendored
@ -45,3 +45,5 @@ jobs:
|
||||
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
|
||||
- name: Run pre-commit
|
||||
run: pre-commit run --all-files
|
||||
- name: Run manual pre-commit hooks
|
||||
run: pre-commit run --all-files --hook-stage manual
|
||||
|
||||
@ -117,6 +117,14 @@ repos:
|
||||
args: [--config=.github/linters/.markdown-lint.yml]
|
||||
types: [markdown]
|
||||
files: \.(md|mdown|markdown)$
|
||||
- repo: https://github.com/Lucas-C/pre-commit-hooks
|
||||
rev: v1.5.5
|
||||
hooks:
|
||||
- id: chmod
|
||||
name: set file permissions
|
||||
args: ['644']
|
||||
files: \.md$
|
||||
stages: [manual]
|
||||
- repo: https://github.com/adrienverge/yamllint
|
||||
rev: v1.37.1
|
||||
hooks:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user