Modernize release workflow: split build/publish jobs, fix broken steps#2522
Open
Modernize release workflow: split build/publish jobs, fix broken steps#2522
Conversation
…ish jobs Agent-Logs-Url: https://github.com/PyCQA/isort/sessions/c19b8484-cdd7-4abb-92f0-1e1ca2fb371e Co-authored-by: DanielNoord <13665637+DanielNoord@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update GitHub Actions workflow to match pylint's structure
Modernize release workflow: split build/publish jobs, fix broken steps
Apr 24, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2522 +/- ##
=======================================
Coverage 99.15% 99.15%
=======================================
Files 41 41
Lines 3092 3092
Branches 668 668
=======================================
Hits 3066 3066
Misses 14 14
Partials 12 12 🚀 New features to boost your workflow:
|
Member
|
@staticdev This is heavily inspired on the one used by That one works very well. It is especially good to have the Shall we merge this and test with another alpha? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The release workflow had several broken/deprecated issues: non-existent action versions (
actions/checkout@v6,actions/setup-python@v6), deprecated::set-outputsyntax, and arelease-drafterstep referencingsteps.check-version.outputs.tagwhich never existed.Changes
releasejob into separatebuildandrelease-pypijobs (pylint-style), with artifacts passed viaupload-artifact@v4/download-artifact@v4actions/checkout@v6→@v4,actions/setup-python@v6→@v5check-parent-commitstep (::set-output), brokenrelease-drafterstep, unnecessary GitHub release uploadenv.DEFAULT_PYTHON: "3.13"andpermissions: contents: read;release-pypijob gated onneeds: ["build"]Uv toolchain, Python 3.13, and PyPI OIDC publishing (
pypa/gh-action-pypi-publish@release/v1) are unchanged.Original prompt
This pull request was created from Copilot chat.