diff --git a/.github/workflows/reusable_build.yml b/.github/workflows/reusable_build.yml index 747b907f126b..ee62c9975708 100644 --- a/.github/workflows/reusable_build.yml +++ b/.github/workflows/reusable_build.yml @@ -56,13 +56,16 @@ jobs: timeout-minutes: 150 env: GITHUB_JOB_OVERRIDDEN: Build-${{inputs.build_name}} - # Abort a submodule fetch stalled below 1 KB/s for 60 s, so .github/retry.sh can retry it. + # Abort a submodule fetch stalled below 1 KB/s for 60 s. GIT_HTTP_LOW_SPEED_LIMIT: 1000 GIT_HTTP_LOW_SPEED_TIME: 60 + # GitHub answers 401 to some of the parallel anonymous submodule clones. Fail + # instead of prompting for a password on /dev/tty, so retry.sh can retry. + GIT_TERMINAL_PROMPT: 0 runs-on: [self-hosted, altinity-on-demand, altinity-builder] steps: - name: Check out repository code - uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f6 + uses: Altinity/checkout@a6535ac1d2a2cb11b80968b640bcc3a36945892a with: clear-repository: true ref: ${{ fromJson(inputs.data).git_ref }}