Files
molecule-ai-plugin-molecule…/.gitea/workflows/ci.yml
T
hongming e7abd2b83a
sop-checklist-gate / gate (pull_request_target) Failing after 4s
CI / validate (push) Successful in 15s
CI / validate (pull_request) Successful in 13s
ci: use 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 to a
main SHA. Proves/adopts cross-repo uses on Gitea 1.26.4.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-02 10:56:34 -07:00

19 lines
853 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:`. This removes the
# per-repo drift of the validate steps across the plugin fleet.
#
# Cross-repo `uses:` resolves on Gitea 1.26.4 because:
# - server app.ini [actions] DEFAULT_ACTIONS_URL = self
# - every act_runner sets GITHUB_SERVER_URL = http://molecule-gitea-local:3000
# (the old 1.22.6 github.com default-trap no longer applies).
#
# Pinned to a molecule-ci main commit SHA (reserved-path hygiene).
name: CI
on: [push, pull_request]
jobs:
validate:
uses: molecule-ai/molecule-ci/.gitea/workflows/validate-plugin.yml@d8066f147da91072867973b9e0d867996b8a01fd