Skip to content

Commit 15a134c

Browse files
authored
1 parent 787f63a commit 15a134c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/nightly_dafny.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
- cron: "30 16 * * *"
1212

1313
jobs:
14+
getVersion:
15+
# Don't run the cron builds on forks
16+
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
17+
uses: ./.github/workflows/dafny_version.yaml
1418
dafny-nightly-format:
1519
# Don't run the cron builds on forks
1620
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
@@ -39,6 +43,7 @@ jobs:
3943
regenerate-code: true
4044
dafny-nightly-python:
4145
needs: getVersion
46+
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
4247
uses: ./.github/workflows/library_python_tests.yml
4348
with:
4449
dafny: ${{needs.getVersion.outputs.version}}

0 commit comments

Comments
 (0)