update ref checks

This commit is contained in:
Sigbjørn Skjæret 2024-05-05 08:42:10 +02:00 committed by GitHub
parent 4bcd1d8a74
commit 589c74d7bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -56,19 +56,15 @@ jobs:
inputs.gpu-series == 'Standard_NC4as_T4_v3'
|| (
github.event_name == 'schedule'
&& github.ref_name == 'master'
&& github.repository_owner == 'ggerganov'
)
|| github.event_name == 'pull_request_target'
|| github.head_ref == 'master'
|| (
github.event_name == 'push'
&& github.event.ref == 'refs/heads/master'
&& github.repository_owner == 'ggerganov'
)
|| (
github.event_name != 'push'
&& github.ref_name == 'master'
)
steps:
- name: Clone
id: checkout