mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-25 00:07:09 +00:00
chore(skills): package Codex plugin upload (#2668)
* chore(skills): package Codex plugin upload * chore(skills): harden Codex plugin content * fix(skills): satisfy plugin quality gates * fix(skills): address plugin packaging review * fix(plugin): simplify asset validation * fix(skills): correct embedded-captions catalog count to 35 after nightcity removal The nightcity theme removal left SKILL.md claiming 36 identities in four places, including the frontmatter description the router reads. The catalog now has 35 entries (10 classic + 25 themed). --------- Co-authored-by: Miao Yang <miao.yang@heygen.com>
This commit is contained in:
@@ -34,6 +34,7 @@ jobs:
|
||||
code: ${{ steps.filter.outputs.code }}
|
||||
cli: ${{ steps.filter.outputs.cli }}
|
||||
skills: ${{ steps.filter.outputs.skills }}
|
||||
codex_plugin: ${{ steps.filter.outputs.codex_plugin }}
|
||||
steps:
|
||||
# Force git-based change detection instead of the pull_request REST API.
|
||||
# The API path can fail the whole workflow on transient listFiles
|
||||
@@ -68,6 +69,13 @@ jobs:
|
||||
- "scripts/check-skill-mirror.mjs"
|
||||
- "package.json"
|
||||
- ".github/workflows/ci.yml"
|
||||
codex_plugin:
|
||||
- ".codex-plugin/**"
|
||||
- "assets/**"
|
||||
- "skills/**"
|
||||
- "scripts/package-codex-plugin.mjs"
|
||||
- "package.json"
|
||||
- ".github/workflows/ci.yml"
|
||||
|
||||
build:
|
||||
name: Build
|
||||
@@ -339,6 +347,20 @@ jobs:
|
||||
- name: Verify .claude/skills/ and .agents/skills/ are byte-identical
|
||||
run: node scripts/check-skill-mirror.mjs
|
||||
|
||||
codex-plugin-package:
|
||||
name: "Codex plugin package"
|
||||
needs: changes
|
||||
if: needs.changes.outputs.codex_plugin == 'true'
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 3
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
|
||||
with:
|
||||
node-version: 22
|
||||
- name: Build upload-ready Codex plugin
|
||||
run: node scripts/package-codex-plugin.mjs
|
||||
|
||||
cli-npx-shim:
|
||||
name: "CLI: npx shim (${{ matrix.os }})"
|
||||
needs: changes
|
||||
|
||||
Reference in New Issue
Block a user