chore: [114] adopt centralized upstream sync as template #115

Merged
hobbypunk merged 2 commits from chore/114_upstream_sync into main 2026-10-03 21:06:45 +00:00
Owner

Closes #114

What

Adds the thin upstream-sync caller workflow so every project cloned from the base template inherits the upstream sync. The heavy lifting lives centrally:

  • shared/workflows/upstream-sync.yml – reusable workflow (aud default u:9:99cecbbd-…)
  • shared/actions/forgejo-jwt, shared/actions/upstream-merge, shared/actions/upstream-sync-pr – proven in hobbypunk/centinel#9

Behavior

  • No-op by default: without the UPSTREAM_REPOSITORY Actions variable the job skips – the base template itself has no upstream
  • Activation in a derived project: set UPSTREAM_REPOSITORY (owner/repo or full .git-URL) + create the upstream-sync label
  • Runs daily (30 4 * * *) + workflow_dispatch for manual runs, so consuming repos do not drift far apart
  • Sync PRs are merged as merge commits (never squash) to keep the upstream history linked
Closes #114 ## What Adds the thin `upstream-sync` caller workflow so every project cloned from the base template inherits the upstream sync. The heavy lifting lives centrally: - `shared/workflows/upstream-sync.yml` – reusable workflow (aud default `u:9:99cecbbd-…`) - `shared/actions/forgejo-jwt`, `shared/actions/upstream-merge`, `shared/actions/upstream-sync-pr` – proven in hobbypunk/centinel#9 ## Behavior - **No-op by default**: without the `UPSTREAM_REPOSITORY` Actions variable the job skips – the base template itself has no upstream - Activation in a derived project: set `UPSTREAM_REPOSITORY` (`owner/repo` or full `.git`-URL) + create the `upstream-sync` label - Runs daily (`30 4 * * *`) + `workflow_dispatch` for manual runs, so consuming repos do not drift far apart - Sync PRs are merged as **merge commits** (never squash) to keep the upstream history linked
feat: [114] adopt centralized upstream sync as template
Some checks failed
Upstream Sync / Merge upstream changes into sync branch (pull_request) Has been skipped
Upstream Sync / Merge upstream changes into sync branch-1 (pull_request) Has been skipped
PR Triage / Triage pull request-1 (pull_request) Successful in 21s
PR Triage / Triage pull request (pull_request) Successful in 0s
CI / Quality / Brakeman (pull_request) Successful in 55s
CI / Quality / Bundler Audit (pull_request) Successful in 56s
CI / Tests / Unit (pull_request) Failing after 59s
CI / Tests / System (pull_request) Failing after 1m1s
CI / Quality / RuboCop (pull_request) Successful in 1m2s
CI / Quality (pull_request) Successful in 0s
CI / Tests / Coverage (pull_request) Has been skipped
CI / Tests (pull_request) Failing after 0s
CI / Container / Build and push (pull_request) Has been skipped
CI / Container (pull_request) Failing after 0s
CI / Deploy (pull_request) Has been skipped
6a6f44c853
forgejo-actions changed title from feat: [114] adopt centralized upstream sync as template to chore: [114] adopt centralized upstream sync as template 2026-10-03 20:57:26 +00:00
refactor: [114] run template upstream sync on daily schedule
Some checks failed
PR Triage / Triage pull request (pull_request) Successful in 0s
PR Triage / Triage pull request-1 (pull_request) Successful in 1m17s
CI / Quality / Bundler Audit (pull_request) Successful in 1m23s
CI / Quality / RuboCop (pull_request) Successful in 1m24s
CI / Tests / Unit (pull_request) Failing after 1m27s
CI / Quality / Brakeman (pull_request) Successful in 1m29s
CI / Quality (pull_request) Successful in 0s
CI / Tests / System (pull_request) Failing after 1m31s
CI / Tests / Coverage (pull_request) Has been skipped
CI / Tests (pull_request) Failing after 0s
CI / Container / Build and push (pull_request) Has been skipped
CI / Container (pull_request) Failing after 0s
CI / Deploy (pull_request) Has been skipped
ef955a5a78
hobbypunk deleted branch chore/114_upstream_sync 2026-10-03 21:06:45 +00:00
Sign in to join this conversation.
No reviewers
No milestone
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
hobbypunk/rails-base_app!115
No description provided.