ci: dont run on renovate updates

This commit is contained in:
Michael Grote 2024-02-06 20:16:52 +01:00
parent 4b603ba8bc
commit 87d3fcdf6f
2 changed files with 8 additions and 7 deletions

View file

@ -17,3 +17,6 @@ steps:
- ${CI_COMMIT_SHA:0:8} - ${CI_COMMIT_SHA:0:8}
- ${CI_COMMIT_BRANCH} - ${CI_COMMIT_BRANCH}
- latest - latest
when:
- evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
...

View file

@ -5,21 +5,17 @@ steps:
commands: commands:
- gitleaks detect --no-git --verbose --source $CI_WORKSPACE - gitleaks detect --no-git --verbose --source $CI_WORKSPACE
when: when:
event: - evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
exclude:
- tag
hadolint: hadolint:
image: pipelinecomponents/hadolint:0.26.0@sha256:7122937006c7a9bcbb78ce764d3c2f0092f183b843ad128bc9fd6ea918e22d5b image: pipelinecomponents/hadolint:0.26.0@sha256:7122937006c7a9bcbb78ce764d3c2f0092f183b843ad128bc9fd6ea918e22d5b
commands: commands:
- hadolint Dockerfile - hadolint Dockerfile
when: when:
event: - evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
exclude:
- tag
shellcheck: shellcheck:
image: "koalaman/shellcheck-alpine:latest@sha256:eed99e46acb69ede0f68db4fd8f1b3b00cc09d66cb7d4d6f1f6296bd8833932d" image: "koalaman/shellcheck-alpine:latest@sha256:7b0682c5786633fc075f69852e5c7521767e8dcb512c43cf8041b022bdc98198"
commands: commands:
- | - |
find . -type f -not -path './.git/*' -not -path './collections/*' -exec file {} \; | while IFS= read -r line; do find . -type f -not -path './.git/*' -not -path './collections/*' -exec file {} \; | while IFS= read -r line; do
@ -28,4 +24,6 @@ steps:
shellcheck "$file_path" shellcheck "$file_path"
fi fi
done done
when:
- evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
... ...