Skip to content

ci: publish the GitHub Action on each release#37

Merged
nenadvulic merged 1 commit into
mainfrom
ci/publish-action-on-release
Jun 11, 2026
Merged

ci: publish the GitHub Action on each release#37
nenadvulic merged 1 commit into
mainfrom
ci/publish-action-on-release

Conversation

@nenadvulic

Copy link
Copy Markdown
Owner

What

Adds a publish-action job to release.yml. After the GitHub Release is published, it fires a repository_dispatch (tool-released) to solid-like-a-rock-action, which tags a new vX.Y.Z, advances the floating v1 tag, and cuts a Release (refreshing the Marketplace listing).

Mirrors the existing bump-homebrew cross-repo pattern. Payload is built with jq (preinstalled on ubuntu-latest) so the JSON is unambiguous.

⚠️ Required setup

This job needs a new secret ACTION_REPO_TOKEN — a PAT with Contents: write on nenadvulic/solid-like-a-rock-action (the built-in GITHUB_TOKEN can't dispatch cross-repo, same constraint as HOMEBREW_TAP_TOKEN). Until it's set, the job will fail on the next release; everything else in the workflow is unaffected (independent job).

Companion PR

The receiving publish.yml workflow + the new exclude input live in solid-like-a-rock-action#1 — merge that first.

Test

YAML-validated; jq payload construction verified locally.

After publishing a release, dispatch a 'tool-released' repository_dispatch
to nenadvulic/solid-like-a-rock-action, which tags a new vX.Y.Z, advances
the floating v1 tag, and cuts a Release (refreshes the Marketplace listing).

Requires an ACTION_REPO_TOKEN secret: a PAT with Contents:write on the
action repo (GITHUB_TOKEN can't dispatch cross-repo).
@nenadvulic nenadvulic merged commit 5bff21f into main Jun 11, 2026
2 checks passed
@nenadvulic nenadvulic deleted the ci/publish-action-on-release branch June 11, 2026 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant