ci: simplify publish workflow and update to semantic-pr-release-drafter@v0.4.0#13
Conversation
Co-Authored-By: AJ Steers <aj@airbyte.io>
Original prompt from AJ Steers |
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
🎉 Thanks for opening this pull request! Your contribution is appreciated. Here are some helpful commands you can use: Quick Commands
Available Poe TasksYou can run any of these tasks using the slash command: Core Tasks
Quick Fixes
Build & Install
Other Commands
The CI will automatically run tests when you push commits. Happy coding! 🚀 |
Co-Authored-By: AJ Steers <aj@airbyte.io>
Co-Authored-By: AJ Steers <aj@airbyte.io>
…loader action Co-Authored-By: AJ Steers <aj@airbyte.io>
There was a problem hiding this comment.
Pull request overview
This PR simplifies the release automation workflow by updating to semantic-pr-release-drafter@v0.4.0 and restructuring the publish process. The changes separate concerns: release-drafter now builds and attaches assets to draft releases, while publish.yml only downloads pre-built assets and publishes to PyPI.
Changes:
- Updated release-drafter to v0.4.0 and integrated its built-in asset attachment feature
- Removed build job and workflow_dispatch trigger from publish.yml
- Replaced manual asset download with robinraju/release-downloader action
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| .github/workflows/release-drafter.yml | Updates to v0.4.0 and uses new attach-files feature to handle asset management |
| .github/workflows/publish.yml | Simplified to only download pre-built assets and publish to PyPI |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-Authored-By: AJ Steers <aj@airbyte.io>
Co-Authored-By: AJ Steers <aj@airbyte.io>
Co-Authored-By: AJ Steers <aj@airbyte.io>
Co-Authored-By: AJ Steers <aj@airbyte.io>
Summary
This PR makes two major changes to the release automation:
1. Updates release-drafter to v0.4.0 with
attach-filesfeature:aaronsteers/semantic-pr-release-drafter@v0.4.0which handles asset attachment internallyuv build(no version bypass needed)2. Drastically simplifies publish.yml:
buildjob entirely (building now happens in release-drafter)download_release_assetsjobworkflow_dispatchtriggerrobinraju/release-downloader@v1.12to download pre-built assets from the releaseThe new pattern separates concerns: release-drafter builds and attaches assets to draft releases, while the publish workflow only downloads and publishes to PyPI when a release is published.
Updates since last revision
fileName: "*"patternReview & Testing Checklist for Human
uv buildcorrectly determines version from git without explicit bypass (relies on uv-dynamic-versioning)robinraju/release-downloaderaction correctly downloads assets when a release is publishedworkflow_dispatchis acceptable (no manual prerelease publishing capability)Notes
This follows the simplified pattern from
awesome-python-templateandairbyte-ops-mcpwhich were merged and tested successfully. The publish workflow is now purely focused on downloading pre-built assets and publishing to PyPI.Requested by: Aaron ("AJ") Steers (@aaronsteers)
Link to Devin run: https://app.devin.ai/sessions/dbf7f70cc98d47b89f304541608046fa