Skip to content

Conversation

@synacktraa
Copy link
Collaborator

Publishing workflows now automatically create GitHub releases with contributor attribution. Every package published to PyPI or NPM gets a corresponding GitHub release with auto-generated release notes showing PR links and contributors. The release workflow also supports attaching release assets (e.g., binaries for npm/cli).

- Create github-release-reusable.yml using softprops/action-gh-release@v2
- Auto-generates release notes with PR links and contributor attribution
- Supports optional artifact attachment via attach_artifacts boolean
- Remove release creation from pypi-reusable-publish.yml
- Add create-release job to all 6 individual PyPI workflows
- Change permissions from contents:write to contents:read in reusable workflow
- Each workflow now explicitly calls both publish and release workflows

Benefits:
- Single Responsibility Principle: publishing != release creation
- Flexibility: can publish without creating release (e.g., beta versions)
- Explicit: workflow files clearly show both publish and release steps
@vercel
Copy link

vercel bot commented Dec 31, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
docs Ready Ready Preview, Comment Dec 31, 2025 5:27pm

@synacktraa synacktraa merged commit 26a212c into main Dec 31, 2025
4 of 5 checks passed
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.

3 participants