Update sync action to overwrite develop in mirror#8690
Merged
Conversation
Contributor
|
There have been merges to develop in the other repo before, would that conflict with this? |
Contributor
Author
Do you mean dependabot updates? That should be ok because it should be the same in both repos. There shouldn't be actual feature updates merged to develop though, that should all be done in branches, and then directly merged to public repo through PR. I've updated the release process to state this too |
Vandita2020
approved these changes
Feb 24, 2026
reedham-aws
approved these changes
Feb 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue(s) does this change fix?
--force-with-lease fails because the action does not fetch the mirror every time. We could do this, but since we want to overwrite the dev branch of the mirror repo every time, we can just use --force since no actual updates should be pushed to the dev branch of the mirror repo, only to other branches.
Why is this change necessary?
How does it address the issue?
What side effects does this change have?
Mandatory Checklist
PRs will only be reviewed after checklist is complete
make prpassesmake update-reproducible-reqsif dependencies were changedBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.