mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-24 01:10:31 +00:00
9648765ae5
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
43 lines
1.3 KiB
YAML
43 lines
1.3 KiB
YAML
repos:
|
|
- repo: meta
|
|
hooks:
|
|
- id: check-hooks-apply
|
|
- id: check-useless-excludes
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.5.0
|
|
hooks:
|
|
- id: check-yaml
|
|
exclude: 'pipeline/frontend/yaml/linter/schema/.woodpecker/test-merge-map-and-sequence.yml'
|
|
- id: end-of-file-fixer
|
|
- id: trailing-whitespace
|
|
- repo: https://github.com/golangci/golangci-lint
|
|
rev: v1.55.2
|
|
hooks:
|
|
- id: golangci-lint
|
|
- repo: https://github.com/igorshubovych/markdownlint-cli
|
|
rev: v0.37.0
|
|
hooks:
|
|
- id: markdownlint
|
|
exclude: '^docs/versioned_docs/.*$'
|
|
- repo: https://github.com/mrtazz/checkmake
|
|
rev: 0.2.2
|
|
hooks:
|
|
- id: checkmake
|
|
exclude: '^docker/Dockerfile.make$' # actually a Dockerfile and not a makefile
|
|
- repo: https://github.com/hadolint/hadolint
|
|
rev: v2.12.1-beta
|
|
hooks:
|
|
- id: hadolint
|
|
|
|
ci:
|
|
autofix_commit_msg: |
|
|
[pre-commit.ci] auto fixes from pre-commit.com hooks [CI SKIP]
|
|
|
|
for more information, see https://pre-commit.ci
|
|
autofix_prs: true
|
|
autoupdate_branch: ''
|
|
autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate'
|
|
autoupdate_schedule: monthly
|
|
# NB: hadolint not included in pre-commit.ci
|
|
skip: [check-hooks-apply, check-useless-excludes, hadolint]
|
|
submodules: false
|