Summary
Publishing a skill to Mpak following the documented workflow at https://mpak.dev/publish/skills and https://docs.mpak.dev/skills/github-action/ failed after several attempts. Two distinct blockers prevent publishing from working at all.
Blocker 1: GITHUB_TOKEN-created releases don't trigger the release: published workflow event
The documented approach is a two-workflow setup:
- One workflow creates a GitHub release
- A second workflow triggers on
release: [published] and runs skill-pack
This doesn't work. GitHub intentionally prevents workflows triggered by GITHUB_TOKEN from firing other workflow events, to avoid infinite loops. So the release: published event never fires when the release is created programmatically.
What we tried: We merged both workflows into a single job (auto-release → skill-pack in sequence), bypassing the cross-workflow trigger entirely. This leads to Blocker 2.
Blocker 2: skill-pack@v1 pack step fails silently on push events
When running skill-pack directly in a push-triggered workflow (after creating the release in the same job), the pack step fails with exit code 1 and zero output after printing Packing: <skill-name>.
Relevant log:
Packing: devflow
##[error]Process completed with exit code 1.
No zip error, no version error, nothing. The failure is completely silent.
What we tried:
- Overriding
GITHUB_REF via env: GITHUB_REF: refs/tags/<computed-tag> to simulate a release event context — no change
- Installing
zip explicitly via apt-get before the step — no change
- Confirmed skill validates successfully (
✓ Valid: devflow) before the pack step fails
Runs for reference: JoeCardoso13/devflow — runs 24566028970, 24566570805, 24566729124, 24567028379
Impact
Publishing a skill to Mpak is currently impossible following the documented workflow. The two blockers together mean there's no working path from "I have a SKILL.md" to "skill is on mpak.dev" without undocumented workarounds.
The docs need to either:
- Document a working single-workflow approach that doesn't rely on cross-workflow event triggers
- Fix
skill-pack to handle non-release event contexts gracefully (or surface actionable errors instead of silent exit 1)
Happy to test fixes.
Summary
Publishing a skill to Mpak following the documented workflow at https://mpak.dev/publish/skills and https://docs.mpak.dev/skills/github-action/ failed after several attempts. Two distinct blockers prevent publishing from working at all.
Blocker 1:
GITHUB_TOKEN-created releases don't trigger therelease: publishedworkflow eventThe documented approach is a two-workflow setup:
release: [published]and runsskill-packThis doesn't work. GitHub intentionally prevents workflows triggered by
GITHUB_TOKENfrom firing other workflow events, to avoid infinite loops. So therelease: publishedevent never fires when the release is created programmatically.What we tried: We merged both workflows into a single job (auto-release → skill-pack in sequence), bypassing the cross-workflow trigger entirely. This leads to Blocker 2.
Blocker 2:
skill-pack@v1pack step fails silently onpusheventsWhen running
skill-packdirectly in a push-triggered workflow (after creating the release in the same job), the pack step fails with exit code 1 and zero output after printingPacking: <skill-name>.Relevant log:
No zip error, no version error, nothing. The failure is completely silent.
What we tried:
GITHUB_REFviaenv: GITHUB_REF: refs/tags/<computed-tag>to simulate a release event context — no changezipexplicitly viaapt-getbefore the step — no change✓ Valid: devflow) before the pack step failsRuns for reference:
JoeCardoso13/devflow— runs24566028970,24566570805,24566729124,24567028379Impact
Publishing a skill to Mpak is currently impossible following the documented workflow. The two blockers together mean there's no working path from "I have a SKILL.md" to "skill is on mpak.dev" without undocumented workarounds.
The docs need to either:
skill-packto handle non-release event contexts gracefully (or surface actionable errors instead of silent exit 1)Happy to test fixes.