[skip ci] wrong settings would cause cron builds to be skipped

This commit is contained in:
JerryXiao 2020-10-19 14:06:15 +08:00
parent 2e5c1b639d
commit 06f50d06aa
Signed by: Jerry
GPG Key ID: 9D9CE43650FF2BAA
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ on:
jobs:
build:
name: Generate ROA
if: "!contains(github.event.head_commit.message, '[skip ci]')"
if: "github.event_name != 'push' || !contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-20.04
steps: