correct github.event usage
This commit is contained in:
parent
acd1d89124
commit
dfb33e8f7a
1 changed files with 6 additions and 6 deletions
12
.github/workflows/python-lint.yml
vendored
12
.github/workflows/python-lint.yml
vendored
|
@ -20,20 +20,20 @@ jobs:
|
||||||
- name: flake8 Lint
|
- name: flake8 Lint
|
||||||
uses: py-actions/flake8@v2
|
uses: py-actions/flake8@v2
|
||||||
if: |
|
if: |
|
||||||
github.event.inputs.gpu-series == 'Standard_NC4as_T4_v3'
|
inputs.gpu-series == 'Standard_NC4as_T4_v3'
|
||||||
|| (
|
|| (
|
||||||
github.event.schedule
|
github.event_name == 'schedule'
|
||||||
&& github.repository_owner == 'ggerganov'
|
&& github.repository_owner == 'ggerganov'
|
||||||
)
|
)
|
||||||
|| github.event.pull_request
|
|| github.event_name == 'pull_request'
|
||||||
|| github.head_ref == 'master'
|
|| github.head_ref == 'master'
|
||||||
|| (
|
|| (
|
||||||
github.event.push
|
github.event_name == 'push'
|
||||||
&& github.event.push.ref == 'refs/heads/master'
|
&& github.event.ref == 'refs/heads/master'
|
||||||
&& github.repository_owner == 'ggerganov'
|
&& github.repository_owner == 'ggerganov'
|
||||||
)
|
)
|
||||||
|| (
|
|| (
|
||||||
!github.event.push
|
github.event_name != 'push'
|
||||||
&& github.ref_name == 'master'
|
&& github.ref_name == 'master'
|
||||||
)
|
)
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue