feat: added woodpecker config, added .ecrc
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
94a7d064b3
commit
16673a9e1a
4 changed files with 33 additions and 2 deletions
4
.ecrc
Normal file
4
.ecrc
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"IgnoreDefaults": false,
|
||||
"Exclude": ["^LICENSE$", "^LICENSES/.*"]
|
||||
}
|
3
.ecrc.license
Normal file
3
.ecrc.license
Normal file
|
@ -0,0 +1,3 @@
|
|||
SPDX-FileCopyrightText: 2023 Tobias Schmidl
|
||||
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
|
@ -29,6 +29,10 @@ repos:
|
|||
- repo: https://github.com/compilerla/conventional-pre-commit
|
||||
rev: v2.4.0
|
||||
hooks:
|
||||
- id: conventional-pre-commit
|
||||
stages: [commit-msg]
|
||||
- id: conventional-pre-commit
|
||||
stages: [commit-msg]
|
||||
- repo: https://git.schmidl.dev/schtobia/woodpecker-lint
|
||||
rev: 1.0.0
|
||||
hooks:
|
||||
- id: woodpecker-lint
|
||||
...
|
||||
|
|
20
.woodpecker.yml
Normal file
20
.woodpecker.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
# SPDX-FileCopyrightText: 2023 Tobias Schmidl
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
---
|
||||
steps:
|
||||
shellcheck:
|
||||
group: lint
|
||||
image: registry.gitlab.com/pipeline-components/shellcheck
|
||||
commands:
|
||||
- find . -name .git -type d -prune -o -type f -name \*.sh -print0 | xargs -0 -r -n1 shellcheck -e SC2015
|
||||
|
||||
editor-config:
|
||||
image: mstruebing/editorconfig-checker
|
||||
group: lint
|
||||
|
||||
reuse:
|
||||
image: fsfe/reuse:latest
|
||||
group: lint
|
||||
...
|
Loading…
Reference in a new issue