@@ -143,15 +143,12 @@ jobs:
143143 long-timeout : ${{ steps.check-labels.outputs.long-timeout }}
144144 test-bot-formulae-args : ${{ steps.check-labels.outputs.test-bot-formulae-args }}
145145 test-bot-dependents-args : ${{ steps.check-labels.outputs.test-bot-dependents-args }}
146+ download-concurrency : ${{ steps.check-labels.outputs.download-concurrency }}
146147 steps :
147148 - uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
148149 with :
149150 persist-credentials : false
150151
151- - name : Check if nodejs formula
152- if : contains(github.event.pull_request.labels.*.name, 'nodejs')
153- run : exit 1
154-
155152 - name : Check for CI labels
156153 id : check-labels
157154 uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
@@ -178,6 +175,10 @@ jobs:
178175 console.error(error);
179176 }
180177
178+ - name : Check if nodejs formula
179+ if : fromJson(steps.check-labels.outputs.nodejs)
180+ run : exit 1
181+
181182 setup_runners :
182183 needs : [formulae_detect, setup_tests]
183184 if : >
@@ -244,6 +245,7 @@ jobs:
244245 --deleted-formulae="$DELETED_FORMULAE" \
245246 <<<"$TEST_BOT_FORMULAE_ARGS"
246247 env :
248+ HOMEBREW_DOWNLOAD_CONCURRENCY : ${{ needs.setup_tests.outputs.download-concurrency }}
247249 TEST_BOT_FORMULAE_ARGS : ${{ needs.setup_tests.outputs.test-bot-formulae-args }}
248250 TESTING_FORMULAE : ${{ needs.formulae_detect.outputs.testing_formulae }}
249251 ADDED_FORMULAE : ${{ needs.formulae_detect.outputs.added_formulae }}
@@ -273,6 +275,7 @@ jobs:
273275 long-timeout : ${{ steps.check-labels.outputs.long-timeout }}
274276 test-bot-formulae-args : ${{ steps.check-labels.outputs.test-bot-formulae-args }}
275277 test-bot-dependents-args : ${{ steps.check-labels.outputs.test-bot-dependents-args }}
278+ download-concurrency : ${{ steps.check-labels.outputs.download-concurrency }}
276279 steps :
277280 - uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
278281 with :
@@ -376,6 +379,7 @@ jobs:
376379 --tested-formulae="$TESTED_FORMULAE" \
377380 <<<"$TEST_BOT_DEPENDENTS_ARGS"
378381 env :
382+ HOMEBREW_DOWNLOAD_CONCURRENCY : ${{ needs.setup_dep_tests.outputs.download-concurrency }}
379383 TEST_BOT_DEPENDENTS_ARGS : ${{ needs.setup_dep_tests.outputs.test-bot-dependents-args }}
380384 TESTED_FORMULAE : ${{ needs.formulae_detect.outputs.testing_formulae }}
381385 working-directory : ${{ env.BOTTLES_DIR }}
0 commit comments