feat: add sync-main-to-edge workflow + .gitupstream - #198
Merged
Merged
Conversation
Calls the reusable workflow at nsheaps/github-actions/.github/workflows/sync-main-to-edge.yaml@main on every push to main, syncing main into the */edge branches listed in .gitupstream. Depends on nsheaps/github-actions#24 landing first. Refs nsheaps/.ai-agent-alex#685. Co-Authored-By: Agent Alex Picard <alex-nsheaps[bot]@users.noreply.github.com>
5 tasks
nsheaps
pushed a commit
that referenced
this pull request
Aug 11, 2026
apply-repo-settings.yaml and sync-main-to-edge.yaml had their Source: comment fixed on this branch back when nsheaps/.github's canonical templates/ layout was still flat. .github later restructured to nest templates under destination-mirroring paths (#198), and main here already picked up the corrected nested-path comment via the sync -- this branch's stale flat-path version would have reverted it on merge. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016wPHfMEiz9Bjau7twwZybf
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.
Summary
Adds the edge-sync consumer workflow +
.gitupstreamconfig to this repo. The workflow delegates to the reusable workflow in nsheaps/github-actions#24; the config lists which*/edgebranches to keep in sync withmain..github/workflows/sync-main-to-edge.yaml— fires on push-to-main(andworkflow_dispatch).gitupstream— YAML config listing edge targetsThe workflow file is also distributed by nsheaps/.github#63 via sync-files; we're seeding it here so the repo works standalone and sync-files will pick up from there idempotently.
Depends on
Test plan
maintriggers the workflow and syncs configured edge branches (no-op when targets already up-to-date or missing)Open Questions
.gitupstreamcurrently hassync: []as a placeholder. Should I instead pre-seed withalex/edgeeven though the branch doesn't exist? The reusable workflow skips missing targets, so either works.uses:points at@main(the reusable). Want a SHA-pin instead for reproducibility?Refs nsheaps/.ai-agent-alex#685.
🤖 Generated with Claude Code
Decisions (Q1/Q2/Q3 follow-up 2026-05-28)
Nate answered the original Open Questions (Discord msg):
uses: ...@mainfor the reusable..gitupstream): Seed each agent repo with<agent>/edgetarget + create the branch. Done in this PR set;alex/edge,jack/edge,henry/edgenow exist on their respective repos.push: branches:[main],schedule: '0 6 * * *'(nightly UTC),workflow_dispatch:.Full follow-up: https://github.com/nsheaps/.ai-agent-alex/blob/main/docs/journal/2026/05/28/edge-sync-q2q3-followup.md