M0.3 Weekly upstream-sync Forgejo Action #8

Open
opened 2026-07-27 11:03:58 +00:00 by jmz · 1 comment
Owner

Scheduled Action: fetch upstream/main, merge into main, open a sync PR. Divergence should stay small (upstream-first + plugins), so conflicts are rare.

Scheduled Action: fetch `upstream/main`, merge into `main`, open a sync PR. Divergence should stay small (upstream-first + plugins), so conflicts are rare.
Author
Owner

Implemented in #38 (branch feat/upstream-sync-action, base main).

.forgejo/workflows/upstream-sync.yml: weekly (Mon 04:17 UTC) + workflow_dispatch. Fetches upstream main; if the base branch is behind, pushes a dated upstream-sync/<date> branch and opens a PR into main (human-merged, so Forgejo shows conflicts). Kept in .forgejo/ so it doesn't diverge the .github/ workflows shared with upstream. YAML + bash -n validated; git logic dry-run locally (base is currently 1 behind upstream). Needs Actions enabled + an ubuntu-latest runner + the auto token allowed to open PRs (else a PAT secret). Not merged.

Implemented in #38 (branch `feat/upstream-sync-action`, base `main`). `.forgejo/workflows/upstream-sync.yml`: weekly (Mon 04:17 UTC) + `workflow_dispatch`. Fetches upstream `main`; if the base branch is behind, pushes a dated `upstream-sync/<date>` branch and opens a PR into `main` (human-merged, so Forgejo shows conflicts). Kept in `.forgejo/` so it doesn't diverge the `.github/` workflows shared with upstream. YAML + `bash -n` validated; git logic dry-run locally (base is currently 1 behind upstream). Needs Actions enabled + an `ubuntu-latest` runner + the auto token allowed to open PRs (else a PAT secret). Not merged.
Sign in to join this conversation.
No labels
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
public/wanderer#8
No description provided.