18
18
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
19
19
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
20
20
- ${{ github.workspace }}/../../cache/general:/root/.cache
21
- if : " github.event_name == 'schedule'
21
+ if : " github.event_name == 'schedule' && github.repository == 'lampepfl/dotty'
22
22
|| (
23
23
github.event_name == 'push'
24
24
&& !startsWith(github.event.ref, 'refs/tags/sbt-dotty-')
57
57
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
58
58
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
59
59
- ${{ github.workspace }}/../../cache/general:/root/.cache
60
- if : " github.event_name == 'schedule'
60
+ if : " github.event_name == 'schedule' && github.repository == 'lampepfl/dotty'
61
61
|| (
62
62
github.event_name == 'push'
63
63
&& !startsWith(github.event.ref, 'refs/tags/sbt-dotty-')
@@ -115,7 +115,7 @@ jobs:
115
115
116
116
test_windows_full :
117
117
runs-on : [self-hosted, Windows]
118
- if : " github.event_name == 'schedule'
118
+ if : " github.event_name == 'schedule' && github.repository == 'lampepfl/dotty'
119
119
|| (
120
120
github.event_name == 'push'
121
121
&& !startsWith(github.event.ref, 'refs/tags/sbt-dotty-')
@@ -141,7 +141,7 @@ jobs:
141
141
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
142
142
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
143
143
- ${{ github.workspace }}/../../cache/general:/root/.cache
144
- if : " github.event_name == 'schedule'
144
+ if : " github.event_name == 'schedule' && github.repository == 'lampepfl/dotty'
145
145
|| github.event_name == 'push'
146
146
|| (
147
147
github.event_name == 'pull_request'
@@ -176,7 +176,7 @@ jobs:
176
176
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
177
177
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
178
178
- ${{ github.workspace }}/../../cache/general:/root/.cache
179
- if : " github.event_name == 'schedule'
179
+ if : " github.event_name == 'schedule' && github.repository == 'lampepfl/dotty'
180
180
|| github.event_name == 'push'
181
181
|| (
182
182
github.event_name == 'pull_request'
@@ -211,7 +211,7 @@ jobs:
211
211
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
212
212
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
213
213
- ${{ github.workspace }}/../../cache/general:/root/.cache
214
- if : " github.event_name == 'schedule'
214
+ if : " github.event_name == 'schedule' && github.repository == 'lampepfl/dotty'
215
215
|| (
216
216
github.event_name == 'push'
217
217
&& startsWith(github.event.ref, 'refs/tags/')
@@ -247,7 +247,7 @@ jobs:
247
247
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
248
248
- ${{ github.workspace }}/../../cache/general:/root/.cache
249
249
250
- if : " github.event_name == 'schedule'
250
+ if : " github.event_name == 'schedule' && github.repository == 'lampepfl/dotty'
251
251
|| (
252
252
github.event_name == 'push'
253
253
&& startsWith(github.event.ref, 'refs/tags/')
@@ -289,7 +289,7 @@ jobs:
289
289
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
290
290
- ${{ github.workspace }}/../../cache/general:/root/.cache
291
291
needs : [test_non_bootstrapped, test, community_build_a, community_build_b, test_sbt, test_java8]
292
- if : " github.event_name == 'schedule'"
292
+ if : " github.event_name == 'schedule' && github.repository == 'lampepfl/dotty' "
293
293
env :
294
294
NIGHTLYBUILD : yes
295
295
PGP_PW : ${{ secrets.PGP_PW }} # PGP passphrase
@@ -323,7 +323,7 @@ jobs:
323
323
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
324
324
- ${{ github.workspace }}/../../cache/general:/root/.cache
325
325
needs : [publish_nightly]
326
- if : " github.event_name == 'schedule'"
326
+ if : " github.event_name == 'schedule' && github.repository == 'lampepfl/dotty' "
327
327
env :
328
328
NIGHTLYBUILD : yes
329
329
BOT_TOKEN : ${{ secrets.BOT_TOKEN }} # If you need to change this:
0 commit comments