Skip to content

ci: Add automated upstream sync workflow#61

Merged
CSRessel merged 1 commit into
devfrom
feature/upstream-sync-ci
Dec 2, 2025
Merged

ci: Add automated upstream sync workflow#61
CSRessel merged 1 commit into
devfrom
feature/upstream-sync-ci

Conversation

@CSRessel
Copy link
Copy Markdown
Collaborator

@CSRessel CSRessel commented Dec 2, 2025

Summary

Adds a GitHub Actions workflow that automatically syncs upstream stable releases into the dev branch.

What it does:

  • Runs daily at 9 AM UTC to check for new upstream stable releases
  • Detects latest stable tag (rust-vX.Y.Z only, no alpha/beta)
  • Updates fork/upstream-sync branch to point to the release tag
  • Creates sync/upstream-vX.Y.Z branch from the tag
  • Opens draft PR against dev with merge instructions

Features:

  • Manual trigger with optional specific tag
  • Dry-run mode for testing
  • Idempotent (skips if sync branch already exists)

Also adds nori-releases.md documenting:

  • Current fork state and divergence from upstream
  • Branching strategy with visual diagram
  • Automated and manual sync workflows
  • Downstream release process

Test Plan

  • Trigger workflow manually in dry-run mode: gh workflow run upstream-sync.yml -f dry_run=true
  • Verify logs show correct tag detection and branch naming
  • Trigger with specific tag: gh workflow run upstream-sync.yml -f tag=rust-v0.63.0 -f dry_run=true
  • After merge, trigger without dry-run to test actual branch/PR creation

Adds GitHub Actions workflow that:
- Runs daily at 9 AM UTC to check for new upstream stable releases
- Detects latest stable tag (X.Y.Z only, no alpha/beta)
- Updates fork/upstream-sync branch to track release
- Creates sync/upstream-vX.Y.Z branch from the tag
- Opens draft PR against dev with merge instructions

Supports manual trigger with optional tag and dry-run mode.
Idempotent - skips if sync branch already exists.

Also adds nori-releases.md documenting the branching strategy
and sync workflow.
🤖 Generated with [Nori](https://nori.ai)

Co-Authored-By: Nori <noreply@tilework.tech>
@CSRessel CSRessel force-pushed the feature/upstream-sync-ci branch from 43f0db9 to e9e7c86 Compare December 2, 2025 19:44
@CSRessel CSRessel merged commit 8da8ec2 into dev Dec 2, 2025
2 checks passed
@CSRessel CSRessel deleted the feature/upstream-sync-ci branch December 2, 2025 19:47
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