feat: simplify workflow
This commit is contained in:
parent
1e161142e3
commit
f5896e4b3c
2 changed files with 11 additions and 17 deletions
|
|
@ -4,15 +4,21 @@ when:
|
|||
branch: "main"
|
||||
- event: "manual"
|
||||
|
||||
depends_on:
|
||||
- "gitleaks"
|
||||
|
||||
steps:
|
||||
|
||||
# gitleaks
|
||||
- name: "gitleaks"
|
||||
# renovate: datasource=github-releases depName=gitleaks/gitleaks
|
||||
image: "cr.simoncor.net/ghcr/gitleaks/gitleaks:v8.30.1"
|
||||
commands:
|
||||
- "gitleaks detect --source . --verbose --redact"
|
||||
|
||||
# ansible-lint
|
||||
- name: "ansible-lint"
|
||||
# renovate: datasource=docker depName=docker.io/pipelinecomponents/ansible-lint
|
||||
image: "cr.simoncor.net/dockerhub/pipelinecomponents/ansible-lint:0.79.0"
|
||||
depends_on:
|
||||
- "gitleaks"
|
||||
commands:
|
||||
- "ansible-lint -c .ansible-lint ."
|
||||
|
||||
|
|
@ -20,5 +26,7 @@ steps:
|
|||
- name: "markdownlint"
|
||||
# renovate: datasource=docker depName=docker.io/davidanson/markdownlint-cli2
|
||||
image: "cr.simoncor.net/dockerhub/davidanson/markdownlint-cli2:v0.18.1"
|
||||
depends_on:
|
||||
- "gitleaks"
|
||||
commands:
|
||||
- "markdownlint-cli2 --config .markdownlint-cli2.jsonc"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue