Skip to content

Commit 589c74d

Browse files
authored
update ref checks
1 parent 4bcd1d8 commit 589c74d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/bench.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,15 @@ jobs:
5656
inputs.gpu-series == 'Standard_NC4as_T4_v3'
5757
|| (
5858
github.event_name == 'schedule'
59+
&& github.ref_name == 'master'
5960
&& github.repository_owner == 'ggerganov'
6061
)
6162
|| github.event_name == 'pull_request_target'
62-
|| github.head_ref == 'master'
6363
|| (
6464
github.event_name == 'push'
6565
&& github.event.ref == 'refs/heads/master'
6666
&& github.repository_owner == 'ggerganov'
6767
)
68-
|| (
69-
github.event_name != 'push'
70-
&& github.ref_name == 'master'
71-
)
7268
steps:
7369
- name: Clone
7470
id: checkout

0 commit comments

Comments
 (0)