Merge branch 'feat/model-finetune-opt' into feat/cli-skill-sync #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Poke the FC publish-skills flow after skills/ changes land. | |
| # The FC side reconciles this repo's skills/ directory against OSS | |
| # (bailian-wiki/skills/) using the repo HEAD snapshot as the only | |
| # source of truth — the request itself carries no content. Both the | |
| # repo and branch params are validated against FC-side whitelists | |
| # (PUBLISH_REPOS / PUBLISH_BRANCHES). | |
| # | |
| # feat/cli-skill-sync is temporary for end-to-end testing; remove it | |
| # (here and from the FC PUBLISH_BRANCHES whitelist) once the sync | |
| # link is verified on main. | |
| name: Publish skills to OSS | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - feat/cli-skill-sync | |
| paths: | |
| - "skills/**" | |
| jobs: | |
| poke: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Trigger FC publish-skills | |
| run: | | |
| curl -sf -X POST "${{ secrets.FC_TRIGGER_URL }}/publish-skills?repo=modelstudioai/cli&branch=${{ github.ref_name }}" |