CI: disable retries on Actions (#33960)

* no retries

* red
This commit is contained in:
Adeeb Shihadeh
2024-11-07 16:25:29 -08:00
committed by GitHub
parent 4f9794097b
commit 2ac776cfda
+12
View File
@@ -20,6 +20,18 @@ runs:
echo "You should not run this action directly. Use setup-with-retry instead"
exit 1
- shell: bash
name: No retries!
run: |
if [ "${{ github.run_attempt }}" -gt 1 ]; then
echo -e "\033[31m"
echo "##################################################"
echo " Retries not allowed! Fix the flaky test! "
echo "##################################################"
echo -e "\033[0m"
exit 1
fi
# do this after checkout to ensure our custom LFS config is used to pull from GitLab
- shell: bash
run: git lfs pull