mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-30 04:06:34 +09:00
GitHub runs no CI in an advisory's temporary private fork, and merging from the advisory skips branch protection, so a security fix reached main with nothing having run on it. The incident-response process now records where the fix is verified instead, how the mirror is kept in step with the public branches, and why the mirror must never hold the public registry credentials: pull request CI pushes the full chart tree to an anonymously readable registry, which would publish the fix before the release. Without those credentials a mirror run of any code change is red at the registry login, so the process names the jobs that must pass instead of asking for a green run. It records the main commit the run was based on and asks for a rerun when main has moved before the merge, because a change elsewhere on main can break the fix without a merge conflict. It also records what a sync still starts: a release line carries the workflows it was cut with, so pushing one runs its build there, and a tag cut before the guard runs tags.yaml unguarded, which is why tags are never synced. Signed-off-by: Alexey Artamonov <aleksei.artamonov@aenix.io> Assisted-by: LLM