843b4e23c4
Constraint: Maintainers need repeatable ingestion for external skill repositories with different layouts.\nRejected: Git submodules as the primary mechanism | Codex marketplace installs do not reliably recurse external submodules, and adapters still need layout conversion.\nConfidence: medium\nScope-risk: moderate\nDirective: Add new upstreams through config/external-sources.json and adapter logic rather than hand-copying plugin folders.\nTested: scripts/sync_external_plugins.ps1 -Proxy http://127.0.0.1:18085; scripts/sync_external_plugins.ps1 -Only ui-ux-pro-max -Proxy http://127.0.0.1:18085; python scripts/validate_marketplace.py; validate_plugin.py for superpowers and ui-ux-pro-max; codex plugin add superpowers@eapil-skill-market; codex plugin add ui-ux-pro-max@eapil-skill-market; verified ui-ux-pro-max data/scripts directories in cache.\nNot-tested: Scheduled .gitea workflow execution on git.playones runner.
47 lines
1.5 KiB
YAML
47 lines
1.5 KiB
YAML
name: Sync external skill plugins
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: "17 3 * * *"
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
sync:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout marketplace
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Sync external plugins
|
|
shell: pwsh
|
|
run: ./scripts/sync_external_plugins.ps1
|
|
|
|
- name: Validate marketplace
|
|
run: python scripts/validate_marketplace.py
|
|
|
|
- name: Commit synced changes
|
|
shell: bash
|
|
run: |
|
|
if git diff --quiet; then
|
|
echo "No external plugin updates."
|
|
exit 0
|
|
fi
|
|
|
|
git config user.name "EAPIL Skill Sync"
|
|
git config user.email "skill-sync@users.noreply.git.playones.com"
|
|
git add .agents plugins/codex/plugins plugins/codex/.agents config/external-sources.lock.json
|
|
git commit -m "Sync external skill plugins" \
|
|
-m "Constraint: Scheduled sync vendors configured third-party skill sources into Codex plugin layout." \
|
|
-m "Rejected: Git submodules | Codex marketplace installs do not reliably recurse external submodules." \
|
|
-m "Confidence: medium" \
|
|
-m "Scope-risk: moderate" \
|
|
-m "Directive: Review upstream license or structure changes before expanding adapters." \
|
|
-m "Tested: scripts/sync_external_plugins.ps1; scripts/validate_marketplace.py." \
|
|
-m "Not-tested: Manual plugin install in Codex UI."
|
|
git push
|