Skip to content

Conversation

ImBIOS
Copy link
Owner

@ImBIOS ImBIOS commented Jun 24, 2025

What Changed

Added git pull --rebase origin main before git push in both GitHub Actions workflows:

  • daily-benchmark.yml: Added rebase step before pushing benchmark results and README updates
  • daily-updates.yml: Added rebase step before pushing dependency updates

Why This Change

This prevents potential push conflicts in automated workflows when multiple commits are made to the main branch between the time the workflow starts and when it tries to push. The rebase ensures we have the latest changes before pushing.

Changes Made

# In both workflows:
+ git pull --rebase origin main
  git push

This is a defensive programming practice that makes the workflows more robust against race conditions.

- Add rebase step in daily-benchmark.yml before pushing changes
- Add rebase step in daily-updates.yml before pushing dependency updates
- Prevents potential push conflicts in automated workflows
Copy link

changeset-bot bot commented Jun 24, 2025

⚠️ No Changeset found

Latest commit: 7697970

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@ImBIOS ImBIOS merged commit d416a9d into main Jun 24, 2025
2 checks passed
@ImBIOS ImBIOS deleted the fix/add-rebase-before-push branch June 24, 2025 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant