Compare commits

..

2 commits

Author SHA1 Message Date
6bbd2019f3 feat: added woodpecker config
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
2023-10-05 15:44:23 +02:00
e1c96f6b4b feat: added additional precommit checks
* check-byte-order-marker
* conventional-pre-commit
2023-10-05 15:00:03 +02:00
4 changed files with 30 additions and 0 deletions

4
.ecrc Normal file
View file

@ -0,0 +1,4 @@
{
"IgnoreDefaults": false,
"Exclude": ["^LICENSE$", "^LICENSES/.*"]
}

3
.ecrc.license Normal file
View file

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2023 Tobias Schmidl
SPDX-License-Identifier: AGPL-3.0-or-later

View file

@ -11,6 +11,7 @@ repos:
- id: end-of-file-fixer - id: end-of-file-fixer
- id: trailing-whitespace - id: trailing-whitespace
- id: check-merge-conflict - id: check-merge-conflict
- id: check-byte-order-marker
- repo: https://github.com/fsfe/reuse-tool - repo: https://github.com/fsfe/reuse-tool
rev: v2.1.0 rev: v2.1.0
hooks: hooks:
@ -20,4 +21,10 @@ repos:
hooks: hooks:
- id: editorconfig-checker - id: editorconfig-checker
alias: ec alias: ec
stages: [commit]
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v2.4.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
... ...

16
.woodpecker.yml Normal file
View file

@ -0,0 +1,16 @@
# SPDX-FileCopyrightText: 2023 Tobias Schmidl
#
# SPDX-License-Identifier: AGPL-3.0-or-later
---
steps:
editor-config:
image: mstruebing/editorconfig-checker
group: lint
reuse:
image: fsfe/reuse:latest
group: lint
...