Skip to content

chore: add GitHub Actions workflow to sync all upstream branches from xixu-me/Xget#1

Merged
logerrors merged 1 commit intomainfrom
copilot/sync-all-branches-from-upstream
Apr 6, 2026
Merged

chore: add GitHub Actions workflow to sync all upstream branches from xixu-me/Xget#1
logerrors merged 1 commit intomainfrom
copilot/sync-all-branches-from-upstream

Conversation

Copy link
Copy Markdown

Copilot AI commented Apr 6, 2026

Summary

  • Adds a scheduled workflow that mirrors every branch from the upstream repo (xixu-me/Xget) into this fork by force-pushing each branch to origin.
  • Keeps the fork in sync without manual intervention; runs daily and is also triggerable on demand via workflow_dispatch.

New workflow: .github/workflows/upstream-sync.yml

  • Adds xixu-me/Xget as upstream remote
  • git fetch upstream to pull all remote refs
  • Iterates over upstream/* branches and force-pushes each to origin
  • Runs daily at 00:00 UTC; concurrency guard prevents overlapping runs

Testing

  • npm run lint
  • npm run format:check
  • npm run test:run
  • npm run type-check

Checklist

  • I kept the change focused and avoided unrelated edits
  • I added or updated tests when behavior changed
  • I updated documentation when user-facing behavior changed
  • I removed or redacted secrets, tokens, and private data from examples

Notes for reviewers

  • Risk or rollout notes: Uses --force push — any local commits on synced branches will be overwritten. Branches exclusive to this fork are unaffected (only branches that exist in upstream are touched).

Agent-Logs-Url: https://github.com/logerrors/xget/sessions/325e7012-9720-4069-b9ce-c795c52c3ef1

Co-authored-by: logerrors <31824303+logerrors@users.noreply.github.com>
@logerrors logerrors marked this pull request as ready for review April 6, 2026 04:15
@logerrors logerrors merged commit 92bcb6b into main Apr 6, 2026
4 checks passed
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.

2 participants