File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Poke the FC publish-skills flow after skills/ changes land.
2+ # The FC side reconciles this repo's skills/ directory against OSS
3+ # (bailian-wiki/skills/) using the repo HEAD snapshot as the only
4+ # source of truth — the request itself carries no content. Both the
5+ # repo and branch params are validated against FC-side whitelists
6+ # (PUBLISH_REPOS / PUBLISH_BRANCHES).
7+ #
8+ # feat/cli-skill-sync is temporary for end-to-end testing; remove it
9+ # (here and from the FC PUBLISH_BRANCHES whitelist) once the sync
10+ # link is verified on main.
11+ name : Publish skills to OSS
12+
13+ on :
14+ push :
15+ branches :
16+ - main
17+ - feat/cli-skill-sync
18+ paths :
19+ - " skills/**"
20+
21+ jobs :
22+ poke :
23+ runs-on : ubuntu-latest
24+ steps :
25+ - name : Trigger FC publish-skills
26+ run : |
27+ curl -sf -X POST "${{ secrets.FC_PUBLISH_TRIGGER_URL }}/publish-skills?repo=modelstudioai/cli&branch=${{ github.ref_name }}"
You can’t perform that action at this time.
0 commit comments