[skip ci] Don't skip ci if scheduled
All checks were successful
/ Build image (push) Has been skipped

This commit is contained in:
Marko Korhonen 2024-04-04 08:53:55 +03:00
parent a1091f2a6f
commit 218e8be661
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890

View file

@ -5,7 +5,7 @@ on:
jobs:
build_image:
name: Build image
if: "!contains(github.event.commits[0].message, '[skip ci]')"
if: env.SCHEDULED == 'true' || !contains(github.event.commits[0].message, '[skip ci]')
env:
FORGEJO_VERSION: 1.21
SCHEDULED: ${{ github.event_name == 'schedule' }}