feat: added woodpecker config, added .ecrc
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Tobias Schmidl 2023-10-05 14:26:09 +02:00
parent 94a7d064b3
commit 16673a9e1a
4 changed files with 33 additions and 2 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: GPL-3.0-or-later

View file

@ -31,4 +31,8 @@ repos:
hooks:
- 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
View 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
...