always allow workflows to mount /srv/example

because it is generally useful to store informations about how the
workflow ran
This commit is contained in:
Earl Warren 2024-01-05 18:11:19 +01:00
parent 11bf9b45c7
commit b63144cb0d
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
11 changed files with 30 additions and 50 deletions

View file

@ -16,7 +16,7 @@ forgejo-curl.sh api_json --data '{"new_branch_name":"zzzz"}' $api/repos/root/exa
verify_ref
# cron runs once per minute, give it three minutes max before declaring failure
if ! RETRY_DELAYS="30 30 30 30 30 30" forgejo.sh retry test -f /srv/example-cron-volume/DONE ; then
if ! RETRY_DELAYS="30 30 30 30 30 30" forgejo.sh retry test -f /srv/example/cron-volume/DONE ; then
cat $FORGEJO_RUNNER_LOGS
false
fi