Skip to content

skill-pack publish pipeline is broken end-to-end: two critical blockers #80

@JoeCardoso13

Description

@JoeCardoso13

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:

  1. One workflow creates a GitHub release
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions