ci: add lint pipeline
This commit is contained in:
parent
86c32bed0b
commit
5507521379
|
@ -11,5 +11,5 @@ charset = utf-8
|
|||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
[*.json]
|
||||
[*.{json,yml}]
|
||||
indent_size = 2
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
|
||||
ignored:
|
||||
- DL3018 # warning: Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
|
||||
when:
|
||||
event: pull_request
|
||||
|
||||
steps:
|
||||
woodpecker:
|
||||
image: woodpeckerci/woodpecker-cli:v2.7.0-alpine
|
||||
commands:
|
||||
- woodpecker-cli lint .woodpecker/*.yml
|
||||
when:
|
||||
path: .woodpecker/**/*.yml
|
||||
depends_on: []
|
||||
|
||||
dockerfile:
|
||||
image: ghcr.io/hadolint/hadolint:v2.12.0
|
||||
when:
|
||||
path:
|
||||
- Dockerfile
|
||||
depends_on: []
|
||||
|
||||
cspell:
|
||||
image: ghcr.io/streetsidesoftware/cspell:8.13.1
|
||||
commands:
|
||||
- /usr/local/bin/cspell-cli lint .
|
||||
depends_on: []
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"words": [
|
||||
"Aire",
|
||||
"aireone",
|
||||
"buildx",
|
||||
"datasource",
|
||||
"Dockerfiles",
|
||||
"gettext",
|
||||
"gitea",
|
||||
"INOTIFY",
|
||||
"libcurl",
|
||||
"libgcc",
|
||||
"libintl",
|
||||
"libstdc",
|
||||
"WERROR",
|
||||
"woodpeckerci"
|
||||
]
|
||||
}
|
|
@ -54,7 +54,7 @@
|
|||
"rpc-port": 9091,
|
||||
"rpc-socket-mode": "0750",
|
||||
"rpc-url": "/transmission/",
|
||||
"rpc-username": "tdkim",
|
||||
"rpc-username": "transmission-daemon",
|
||||
"rpc-whitelist": "127.0.0.1,::1",
|
||||
"rpc-whitelist-enabled": false,
|
||||
"scrape-paused-torrents-enabled": true,
|
||||
|
|
Loading…
Reference in New Issue