Keep the Forgejo and GitHub copies in sync #2
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Owner asked (2026-10-18) for
noel/supplychain(Forgejo) andnoeljackson/supplychain(GitHub) to stay in sync, ideally both directions. Deferred; this records the state found while looking at it.State on 2026-10-18 (read-only check)
main=bcbae54; GitHubmain=883db6b. Merge base95afa99.e8ac9c5(one line inaction.yml, the Forgejo setup-go mirror), which infra records as retired: GitHub's action now uses its own pinned setup-go bootstrap.clusters/system-hz-eu-1/migration/forgejo-infra-action-mirrors.json: source GitHub, targetnoel/supplychain,reviewed_commitbcbae54, plus a SHA-256 over every head and tag ref, enforced bytools/platform/checks/check-infra-action-mirrors). Any push to Forgejo has to update that record, or the infra check fails.supplychainbinary built atee0abeb(GitHub-only commit; pinned in infraforgejo-hermetic-runner-image.jsonandcheck-system-hz-forgejo-ci, and inEXPECTED_SUPPLYCHAINin codewire's and infra'ssource-approval.yml).pentest-image.ymlusesnoel/supplychain@bcbae548as an action.Options
mainfrom GitHub, then refresh the reviewed-mirror record (reviewed commit and ref digest) through the existing infra check. Forgejo-originated changes go to GitHub as PRs.maininto Forgejomainonce, add a Forgejo workflow that pushesmainto GitHub with a GitHub App installation token (no PAT or deploy key; owner installs the App onnoeljackson/supplychain; infra OpenBao policy for the new workflow), and stop merging on GitHub: move IOC refresh and Dependabot to Forgejo or turn them off. Rework the infra mirror record so it treats Forgejo as the source.Done when
mainagree (or the chosen direction is automatic), the infra mirror record and check pass, and the runner image /EXPECTED_SUPPLYCHAINpins move to a commit on the canonicalmainthrough a normal infra and codewire PR, with a strict supplychain run on the new revision compared with the old one.