Files
molecule-ai-plugin-molecule…/.gitea/workflows/ci.yml
T
hongming bedba047a0
sop-checklist-gate / gate (pull_request_target) Failing after 5s
CI / validate (push) Successful in 12s
CI / validate (pull_request) Successful in 20s
ci: adopt canonical validate-plugin reusable via cross-repo uses
Replaces the inline git-clone + validate-plugin.py + inline secret-scan
copy with a native reusable workflow_call to molecule-ci (pinned SHA).
Proven green on careful-bash#15. Preserves the CI / validate context.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-02 11:02:50 -07:00

18 lines
847 B
YAML

# CI — plugin validation via the canonical reusable workflow in molecule-ci.
#
# Consolidation (CI-reusables): the previous inline copy (git clone of
# molecule-ci + inline validate-plugin.py run + inline secret-scan block)
# is replaced by a native cross-repo reusable `uses:`. Removes per-repo
# drift of the validate steps across the plugin fleet.
#
# Cross-repo `uses:` resolves on Gitea 1.26.4 (app.ini
# DEFAULT_ACTIONS_URL=self + runner GITHUB_SERVER_URL set). Proven green
# on molecule-ai-plugin-molecule-careful-bash#15. Pinned to a molecule-ci
# main SHA (reserved-path hygiene). Job id `validate` preserves the
# required status context `CI / validate (pull_request)`.
name: CI
on: [push, pull_request]
jobs:
validate:
uses: molecule-ai/molecule-ci/.gitea/workflows/validate-plugin.yml@d8066f147da91072867973b9e0d867996b8a01fd