Skip to content

Commit bc44454

Browse files
committed
Prevent running nightly tests from forks
1 parent 1e71a83 commit bc44454

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/nightly-test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ on:
2525

2626
jobs:
2727
test-nightly:
28+
# Cannot check the existence of secrets, so limiting to repository name to prevent all forks to run nightly.
29+
# See: https://github.com/actions/runner/issues/520
30+
if: ${{ github.repository == 'wagtail/Willow' }}
2831
name: Nightly test against nightly Pillow build
2932
# There is an an issue with Wand / ImageMagick using the Ubuntu 24.04 image
3033
# See https://github.com/wagtail/Willow/issues/161

0 commit comments

Comments
 (0)