Workflow to sync from upstream repo - #2
Open
narendraReddy45 wants to merge 2 commits into
Open
Conversation
narendraReddy45
force-pushed
the
upstream_fork_sync
branch
4 times, most recently
from
September 2, 2026 20:49
f9b0942 to
bdeebeb
Compare
narendraReddy45
force-pushed
the
upstream_fork_sync
branch
from
September 3, 2026 08:56
bdeebeb to
235e2a2
Compare
narendraReddy45
marked this pull request as ready for review
September 3, 2026 09:16
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.
Description & Motivation
Keeping this fork in sync with upstream Cloud-Foundations/Dominator has been a manual process. Someone has to remember to check for new commits, pull them in, and resolve any conflicts. This PR automates that with a scheduled sync workflow, so upstream changes get surfaced and merged (or flagged) on a daily cadence instead of tracked by hand.
JIRA: https://jira.purestorage.com/browse/PEFM-364
Approach
This PR implements the below:
6 AM UTC(also triggerable manually via workflow_dispatch) to check upstreamCloud-Foundations/Dominator, diffing upstream's master against this fork's master. If a PR already exists, it's updated with a comment noting the latest changes. If not, a new PR is created. If no diff exists, the workflow exits without any modifications.dry_run(detect and report changes without pushing a branch or opening a PR) andforce_sync(open a sync PR even if the fork appears up to date).UPSTREAM_SYNC_ENABLEDrepo variable, so it's inert until explicitly turned on.Testing
Tested on personal fork , sample PR created with diff commits
narendraReddy45#3