ci: fix when cron
Some checks are pending
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/cron/build Pipeline is pending
ci/woodpecker/cron/lint Pipeline is pending

This commit is contained in:
Michael Grote 2024-05-14 21:44:29 +02:00
parent 5049878c76
commit 8e4f1ef15e
2 changed files with 5 additions and 5 deletions

View file

@ -29,7 +29,7 @@ steps:
DATE=$(date --iso-8601=seconds)
echo "DATE=$DATE" >> .variables
when:
- event: [push, pull_request]
- event: [push, pull_request, cron]
evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
build_and_push: # damit dieser Step laufen kann muss das Repo in der Woodpecker-GUI "privilegiert" sein
@ -56,6 +56,6 @@ steps:
--label org.opencontainers.image.created=$DATE \
--file Dockerfile .
when:
- event: [push, pull_request]
- event: [push, pull_request, cron]
evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
...

View file

@ -5,7 +5,7 @@ steps:
commands:
- gitleaks detect --no-git --verbose --source $CI_WORKSPACE
when:
- event: [push, pull_request]
- event: [push, pull_request, cron]
evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
hadolint:
@ -13,7 +13,7 @@ steps:
commands:
- hadolint Dockerfile
when:
- event: [push, pull_request]
- event: [push, pull_request, cron]
evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
shellcheck:
@ -27,6 +27,6 @@ steps:
fi
done
when:
- event: [push, pull_request]
- event: [push, pull_request, cron]
evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
...