[skip ci] Don't skip ci if scheduled
All checks were successful
/ Build image (push) Has been skipped
All checks were successful
/ Build image (push) Has been skipped
This commit is contained in:
parent
a1091f2a6f
commit
218e8be661
|
@ -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' }}
|
||||
|
|
Loading…
Reference in a new issue