Skip to content

Commit

Permalink
correct github.event usage
Browse files Browse the repository at this point in the history
  • Loading branch information
CISC authored May 4, 2024
1 parent acd1d89 commit dfb33e8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/python-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,20 @@ jobs:
- name: flake8 Lint
uses: py-actions/flake8@v2
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.event.pull_request
|| github.event_name == 'pull_request'
|| github.head_ref == 'master'
|| (
github.event.push
&& github.event.push.ref == 'refs/heads/master'
github.event_name == 'push'
&& github.event.ref == 'refs/heads/master'
&& github.repository_owner == 'ggerganov'
)
|| (
!github.event.push
github.event_name != 'push'
&& github.ref_name == 'master'
)
with:
Expand Down

0 comments on commit dfb33e8

Please sign in to comment.