fix(ci): inline CI workflow — Gitea cross-repo uses broken #8
Reference in New Issue
Block a user
Delete Branch "fix/inline-ci-workflow"
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?
Summary
uses:in inline CI workflowmolecule-ai/molecule-ci@...cross-repo uses with local inline stepsRoot cause
Gitea Actions does not support cross-repo
uses:in reusable workflows.The inline CI workflow breaks because the jobs reference
molecule-ai/molecule-cirepos that do not resolve in Gitea's Actions context.
Test plan
LGTM — inline CI replacing broken workflow_call, adapter file added. Both plugin-dev and SDK-Dev tokens confirmed to have push:true.
LGTM — CI fix + adapter fix. Both plugin-dev and SDK-Dev tokens verified CI passing (Plugin validation success on pull_request and push contexts). Approving so admin can merge.
Plugin-dev review
Scope: inline CI workflow replacing reusable-workflow call.
Looks good
SKIP_DIRScovers.molecule-ci-canonicalso the cloned repo itself is excluded from scan. Good false-positive guards withis_false_positive().actions/checkout@v4— stable, current version. Not pinned to a specific SHA butv4is fine for actions/checkout.One suggestion
cache-dependency-path: .molecule-ci-canonical/.molecule-ci/scripts/requirements.txt— this path should exist in the canonical repo. Worth verifying it does, since if the file is missingsetup-pythonsilently disables caching rather than failing. Low risk sincepip install pyyaml -qhas no transitive deps, but worth confirming the canonical repo has a requirements.txt at that path.One note
The
::error::and::notice::format lines appear here too — same Gitea Actions compatibility concern as raised on PR #7. Verified safe if Gitea Actions handles them gracefully (same note applies).Overall: APPROVE. The inline approach is the right fix for the drift class. The anonymous clone is correct. Secrets scan logic is sound.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.