Skip to content

Commit 758a77c

Browse files
scripts/gh_release.py: Do nothing if Github scheduled workflow on non-PyMuPDF/PyMuPDF repository.
1 parent 13dd9cb commit 758a77c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/gh_release.py

+4
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
import sys
8989
import textwrap
9090

91+
import test as test_py
9192

9293
pymupdf_dir = os.path.abspath( f'{__file__}/../..')
9394

@@ -113,6 +114,9 @@ def main():
113114
v = os.environ[ k]
114115
log( f' {k}: {v!r}')
115116

117+
if test_py.github_workflow_unimportant():
118+
return
119+
116120
valgrind = False
117121
if len( sys.argv) == 1:
118122
args = iter( ['build'])

0 commit comments

Comments
 (0)