-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Add standalone GitHub Action for plugin publishing #2365
Copy link
Copy link
Open
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.ClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:securitySecurity boundary, credential, authz, sandbox, or sensitive-data risk.Security boundary, credential, authz, sandbox, or sensitive-data risk.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.Issue quality rating does not apply to this item.security
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.ClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:securitySecurity boundary, credential, authz, sandbox, or sensitive-data risk.Security boundary, credential, authz, sandbox, or sensitive-data risk.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.Issue quality rating does not apply to this item.security
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
StatusShow more project fields
Backlog
Summary
ClawHub currently provides an official reusable workflow for plugin publishing:
That works and should remain the blessed full workflow, especially for the security-sensitive OIDC/trusted-publishing path. But for external plugin authors, a standalone GitHub Marketplace/composite action would be the more canonical and ergonomic integration surface.
Why
Reusable workflows are good when we want to own the whole job shape: checkout, CLI install, OIDC handling, dry-run/publish behavior, JSON artifact upload, etc.
Most plugin authors, though, expect to add a publishing step to an existing workflow:
A standalone action would be easier to discover, easier to copy into existing release workflows, and more aligned with common GitHub Actions product integrations.
Proposed Direction
Add an official standalone action, for example one of:
openclaw/clawhub-publish@v1openclaw/clawhub/actions/package-publish@v1openclaw/clawhub-publish-plugin@v1The action should wrap the same
clawhub package publishpath used by the reusable workflow.Initial inputs could mirror the reusable workflow where useful:
sourcesource_pathdry_runownerversiontagsregistrysitetokenOutputs:
publish_jsonrelease_idRelationship To The Existing Reusable Workflow
Keep
.github/workflows/package-publish.ymlas the blessed full workflow.Recommended split:
If OIDC support is too much for v1 of the action, document that secretless trusted publishing should use the reusable workflow initially, while token-based publishing can use the action.
Acceptance Criteria
source_pathand basic repo-root plugin publishing.