Skip to content

ci: run publish after Release on merge (workflow_run)#21

Closed
proxymeshai wants to merge 1 commit intomainfrom
ci/publish-after-release-workflow
Closed

ci: run publish after Release on merge (workflow_run)#21
proxymeshai wants to merge 1 commit intomainfrom
ci/publish-after-release-workflow

Conversation

@proxymeshai
Copy link
Copy Markdown
Collaborator

@proxymeshai proxymeshai commented Apr 6, 2026

Chains Publish to PyPI to Release on merge using workflow_run, matching javascript-proxy-headers (publish.yml + release-on-merge.yml). GitHub does not start new runs from GITHUB_TOKEN-created releases, so the gate job confirms the release tag then builds from main and publishes. The release: published trigger remains for releases created outside that workflow.

Also adds the Release on merge workflow (concurrency, fork check), the release Cursor skill, and workflow-level id-token permissions.

Align with javascript-proxy-headers: add a gate job that runs after the
release workflow completes, verify the GitHub release tag exists, then
build and publish. Keep release: published for manually created releases.

Rename the release workflow to "Release on merge", add concurrency and
fork safety, and document the token limitation in the release skill.

Made-with: Cursor
@proxymeshai
Copy link
Copy Markdown
Collaborator Author

Superseded: the same changes are on PR #20 (release/0.2.2).

@proxymeshai proxymeshai closed this Apr 6, 2026
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