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

+4-9
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)