feat(ci): add lint pipeline
ci/woodpecker/pr/lint Pipeline failed
Details
ci/woodpecker/pr/lint Pipeline failed
Details
This commit is contained in:
parent
aa65e97df4
commit
cf7d74c71e
|
@ -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,28 @@
|
|||
---
|
||||
|
||||
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
|
||||
commands:
|
||||
- hadolint Dockerfile
|
||||
# when:
|
||||
# path:
|
||||
# - Dockerfile
|
||||
depends_on: []
|
||||
|
||||
cspell:
|
||||
image: ghcr.io/streetsidesoftware/cspell:8.13.1
|
||||
commands:
|
||||
- cspell 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