only check owner on schedule event

This commit is contained in:
Sigbjørn Skjæret 2024-05-04 12:08:38 +02:00 committed by GitHub
parent abf0ff0d2a
commit d686299124
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,7 +52,7 @@ jobs:
ftype: q4_0
pr_comment_enabled: "true"
if: ${{ github.repository_owner == 'ggerganov' && (github.event.inputs.gpu-series == 'Standard_NC4as_T4_v3' || github.event.schedule || github.event.pull_request || github.head_ref == 'master' || github.ref_name == 'master' || github.event.push.ref == 'refs/heads/master') }}
if: ${{ github.event.inputs.gpu-series == 'Standard_NC4as_T4_v3' || (github.repository_owner == 'ggerganov' && github.event.schedule) || github.event.pull_request || github.head_ref == 'master' || github.ref_name == 'master' || github.event.push.ref == 'refs/heads/master' }}
steps:
- name: Clone
id: checkout