[RCA] Org-template CI drift: reusable @main and non-SHA action refs #17
Reference in New Issue
Block a user
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?
MECHANISM: The org-template tier has the same CI drift class previously seen in workspace templates, but at the organization-bootstrap layer. Several
molecule-ai-org-template-*repos define.gitea/workflows/ci.ymlas a thin cross-repo reusable call tomolecule-ai/molecule-ci/.gitea/workflows/validate-org-template.yml@main; this means required validation can change whenmolecule-ci@mainmoves, without a template repo commit. One template also uses an external tag action (actions/setup-python@v5), adding the same non-SHA action drift class tracked in molecule-ci #15. Novalidate.needsgaps were found in this pass.EVIDENCE: One-pass scan of clone-accessible org-template repos:
free-beats-all@4fb92ec:.gitea/workflows/ci.yml:5,medo-smoke@2ef6f8a:.gitea/workflows/ci.yml:5, andmolecule-worker-gemini@47bfa34:.gitea/workflows/ci.yml:5all usemolecule-ai/molecule-ci/.gitea/workflows/validate-org-template.yml@main.molecule-dev@990d7b2:.gitea/workflows/ci.yml:58usesactions/setup-python@v5.mock-bigorgandux-ab-labhad no.gitea/workflowsin the clone-accessible checkout. API-visible but clone-denied org-template repos were not included in the file scan.RECOMMENDED FIX SHAPE: Responsible repo set is
molecule-ai/molecule-ciplus the affected org-template repos. Decide whether org templates should inline/vendorvalidate-org-template.ymllike the workspace-template remediation path, or pin the reusable workflow to an immutable reviewed ref with a policy that@mainis never used for required gates. Also foldmolecule-devinto the SHA-pinning policy from molecule-ci #15 by pinning or vendoringactions/setup-python.