Skip to content

Document and lint the manually maintained release workflow - #4320

Merged
AlexWaygood merged 4 commits into
astral-sh:mainfrom
zaniebot:agent/document-release-workflow-maintenance
Oct 14, 2026
Merged

AlexWaygood merged 4 commits into
astral-sh:mainfrom
zaniebot:agent/document-release-workflow-maintenance

Conversation

@zaniebot

@zaniebot zaniebot commented Aug 18, 2026 •

Copy link
Copy Markdown
Contributor

The release workflow is maintained manually, but its header and AGENTS.md still describe it as generated, and .pre-commit-config.yaml excludes it from linting. Update the header, remove the obsolete guidance, and enable the regular workflow linters. Register the Depot runner, account for $/ references in actionlint, and use the same reference for the signing workflow. Document trusted secret inheritance and quote the release notes path and optional prerelease flag safely. cargo-dist remains responsible for release planning and artifact generation.

Follow-up to astral-sh/ty#4319.

Comment thread AGENTS.md Resolved
@zanieb
zanieb marked this pull request as ready for review August 18, 2026 23:21

@MichaReiser MichaReiser left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does that mean we won't use cargo dist anymore at all? Just trying to understand what I'm supposed to do in the future.

@AlexWaygood

Copy link
Copy Markdown
Member

Similar to ruff, we should consider applying our regular workflow linters on the file if it's no longer generated — the previous rationale for excluding it doesn't apply anymore

.github/workflows/release.yml|

@zaniebot zaniebot changed the title Document manual maintenance of the release workflow Document and lint the manually maintained release workflow Oct 14, 2026
@AlexWaygood
AlexWaygood merged commit ec60e71 into astral-sh:main Oct 14, 2026
19 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.

4 participants