ci: migrate to new "when"
This commit is contained in:
parent
fa5c45c7be
commit
21c16b4081
3 changed files with 7 additions and 13 deletions
|
@ -11,10 +11,9 @@ steps:
|
|||
- echo $${VAULTPASS} > ./vault-pass.yml # nach des Secret in Großschreibung
|
||||
- ansible-galaxy install -r requirements.yml
|
||||
- ansible-lint --force-color --format pep8
|
||||
when:
|
||||
event:
|
||||
exclude:
|
||||
- tag
|
||||
secrets:
|
||||
- source: vault-pass # name des Secrets in Woodpecker/GUI
|
||||
target: vaultpass # lower-case Name der Variable zur Verwendung in dem CI-File, wird dann so genutzt $${VAULTPASS}
|
||||
when:
|
||||
- evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
|
||||
...
|
||||
|
|
|
@ -5,6 +5,5 @@ steps:
|
|||
commands:
|
||||
- gitleaks detect --no-git --verbose --source $CI_WORKSPACE
|
||||
when:
|
||||
event:
|
||||
exclude:
|
||||
- tag
|
||||
- evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
|
||||
...
|
||||
|
|
|
@ -5,9 +5,7 @@ steps:
|
|||
commands:
|
||||
- gitleaks detect --no-git --verbose --source $CI_WORKSPACE
|
||||
when:
|
||||
event:
|
||||
exclude:
|
||||
- tag
|
||||
- evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
|
||||
|
||||
shellcheck:
|
||||
image: registry.mgrote.net/allzweckcontainer@sha256:2623b8487e29abc93fa6d65282323baed54fd8f034c5aea3be4fd71293db69bb
|
||||
|
@ -20,7 +18,5 @@ steps:
|
|||
fi
|
||||
done
|
||||
when:
|
||||
event:
|
||||
exclude:
|
||||
- tag
|
||||
- evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
|
||||
...
|
||||
|
|
Loading…
Reference in a new issue