Skip to content

Commit 090e022

Browse files
authored
GHA: Don't run cron jobs on forks (#2669)
1 parent 4cda6c7 commit 090e022

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/test_valgrind.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ on:
1414
jobs:
1515
valgrind_cpp:
1616
name: Valgrind C++
17+
# don't run cron job on forks
18+
if: github.repository == 'AMICI-dev/AMICI'
19+
1720
runs-on: ubuntu-24.04
1821

1922
strategy:
@@ -61,6 +64,8 @@ jobs:
6164

6265
valgrind_python:
6366
name: Valgrind Python
67+
# don't run cron job on forks
68+
if: github.repository == 'AMICI-dev/AMICI'
6469

6570
runs-on: ubuntu-24.04
6671

0 commit comments

Comments
 (0)