Skip to content

Commit 671a337

Browse files
Fix 'Test and lint' workflow running on forks (#551)
1 parent e77e8e2 commit 671a337

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,11 @@ jobs:
2424
tests:
2525
name: Run tests
2626

27+
# if 'schedule' was the trigger,
28+
# don't run it on contributors' forks
2729
if: >-
28-
# if 'schedule' was the trigger,
29-
# don't run it on contributors' forks
30-
${{
31-
github.event_name != 'schedule'
32-
|| (
33-
github.repository == 'python/typing_extensions'
34-
&& github.event_name == 'schedule'
35-
)
36-
}}
30+
github.repository == 'python/typing_extensions'
31+
|| github.event_name != 'schedule'
3732
3833
strategy:
3934
fail-fast: false

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy