Skip to content
This repository was archived by the owner on May 18, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion .github/workflows/main-validation-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,22 @@ jobs:
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add README.md docs/README-details.md
git commit -m "chore: refresh generated README from main validation [skip ci]"
git push

# Avoid push races when multiple runs update main close together.
for attempt in 1 2 3; do
echo "Push attempt $attempt"
git fetch origin main
git rebase origin/main
if git push origin HEAD:main; then
echo "Push succeeded."
exit 0
fi
echo "Push failed due to remote updates, retrying..."
sleep 3
done

echo "Failed to push README update after retries."
exit 1

- name: Upload validation artifacts
if: always()
Expand Down