Skip to content

Disable cache-aware actions throughout release workflows - #4321

Merged
zanieb merged 1 commit into
astral-sh:mainfrom
zaniebot:agent/release-actions-cache-mode
Aug 18, 2026
Merged

zanieb merged 1 commit into
astral-sh:mainfrom
zaniebot:agent/release-actions-cache-mode

Conversation

@zaniebot

Copy link
Copy Markdown
Contributor

Release jobs can consume shared GitHub caches when an action's cache defaults change. Set ACTIONS_CACHE_MODE: none in release.yml and every reusable workflow it calls so compatible clients skip cache reads and writes. Each reusable workflow needs its own setting because workflow-level environment variables are not inherited by called workflows. CI calls to those shared workflows use the same setting.

This does not revoke cache credentials. The pinned [email protected] does not honor the variable, so the explicit client opt-outs in #4317 remain necessary. Unrelated workflows and artifact transfers are unchanged.

Port of astral-sh/uv#21196.

@zanieb
zanieb marked this pull request as ready for review August 18, 2026 19:07
@zanieb
zanieb merged commit f61c758 into astral-sh:main Aug 18, 2026
40 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.

2 participants