update ref checks
This commit is contained in:
parent
4bcd1d8a74
commit
589c74d7bf
1 changed files with 1 additions and 5 deletions
6
.github/workflows/bench.yml
vendored
6
.github/workflows/bench.yml
vendored
|
@ -56,19 +56,15 @@ jobs:
|
||||||
inputs.gpu-series == 'Standard_NC4as_T4_v3'
|
inputs.gpu-series == 'Standard_NC4as_T4_v3'
|
||||||
|| (
|
|| (
|
||||||
github.event_name == 'schedule'
|
github.event_name == 'schedule'
|
||||||
|
&& github.ref_name == 'master'
|
||||||
&& github.repository_owner == 'ggerganov'
|
&& github.repository_owner == 'ggerganov'
|
||||||
)
|
)
|
||||||
|| github.event_name == 'pull_request_target'
|
|| github.event_name == 'pull_request_target'
|
||||||
|| github.head_ref == 'master'
|
|
||||||
|| (
|
|| (
|
||||||
github.event_name == 'push'
|
github.event_name == 'push'
|
||||||
&& github.event.ref == 'refs/heads/master'
|
&& github.event.ref == 'refs/heads/master'
|
||||||
&& github.repository_owner == 'ggerganov'
|
&& github.repository_owner == 'ggerganov'
|
||||||
)
|
)
|
||||||
|| (
|
|
||||||
github.event_name != 'push'
|
|
||||||
&& github.ref_name == 'master'
|
|
||||||
)
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clone
|
- name: Clone
|
||||||
id: checkout
|
id: checkout
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue