We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acd1d89 commit dfb33e8Copy full SHA for dfb33e8
.github/workflows/python-lint.yml
@@ -20,20 +20,20 @@ jobs:
20
- name: flake8 Lint
21
uses: py-actions/flake8@v2
22
if: |
23
- github.event.inputs.gpu-series == 'Standard_NC4as_T4_v3'
+ inputs.gpu-series == 'Standard_NC4as_T4_v3'
24
|| (
25
- github.event.schedule
+ github.event_name == 'schedule'
26
&& github.repository_owner == 'ggerganov'
27
)
28
- || github.event.pull_request
+ || github.event_name == 'pull_request'
29
|| github.head_ref == 'master'
30
31
- github.event.push
32
- && github.event.push.ref == 'refs/heads/master'
+ github.event_name == 'push'
+ && github.event.ref == 'refs/heads/master'
33
34
35
36
- !github.event.push
+ github.event_name != 'push'
37
&& github.ref_name == 'master'
38
39
with:
0 commit comments