-
-
Notifications
You must be signed in to change notification settings - Fork 202
Robustify DevIndex Updater Workflow against Remote Changes #9124
Copy link
Copy link
Closed
Labels
aibuildBuild system, scripts, and configurationBuild system, scripts, and configurationenhancementNew feature or requestNew feature or request
Description
The devindex-updater workflow failed because the remote dev branch diverged (force push or new commits) during the 6-minute execution of the update script.
Error:
! [rejected] HEAD -> dev (non-fast-forward)
Solution:
Add a git pull origin dev --rebase step before the final commit/push action. This ensures the local updates are replayed on top of the latest remote state, resolving the divergence.
Implementation:
- Added
git pull origin dev --rebaseto.github/workflows/devindex-updater.ymlbefore the commit step. - Configured git user identity for the pull operation.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
aibuildBuild system, scripts, and configurationBuild system, scripts, and configurationenhancementNew feature or requestNew feature or request