Skip to content

chore(ci): address findings in publish-docs workflow - #15018

Merged
woodruffw merged 2 commits into
mainfrom
ww/publish-docs-fixes
Aug 1, 2025
Merged

woodruffw merged 2 commits into
mainfrom
ww/publish-docs-fixes

Conversation

@woodruffw

Copy link
Copy Markdown
Member

This addresses all findings in publish-docs.yml.

Summary

Key changes:

  • The workflow now runs with no latent permissions. This should be OK, since it looks like any permissioned actions the workflow does require an explicit secret anyways.
  • I've intermediated all template expansions with appropriate environment variables. VERSION in particular is now defined at the job level, since it doesn't vary.
  • I've disabled credential persistence in actions/checkout.

Test Plan

Like #15016, we need to run and see what happens. It might also make sense to manually trigger a docs deploy afterwards.

Signed-off-by: William Woodruff <william@astral.sh>
Signed-off-by: William Woodruff <william@astral.sh>
@woodruffw
woodruffw requested a review from zanieb August 1, 2025 19:22
@woodruffw woodruffw self-assigned this Aug 1, 2025
@woodruffw woodruffw added the internal A refactor or improvement that is not user-facing label Aug 1, 2025
@woodruffw
woodruffw temporarily deployed to uv-test-registries August 1, 2025 19:24 — with GitHub Actions Inactive
@zanieb

zanieb commented Aug 1, 2025

Copy link
Copy Markdown
Member

You should be able to run the docs deploy job before merging.

@woodruffw

Copy link
Copy Markdown
Member Author

Triggered manually; it deploys correctly but with a suboptimal VERSION= when manually dispatched. I think that behavior was pre-existing though.

(That has only a cosmetic effect on the commit message, doesn't appear to affect any actual built doc state.)

@woodruffw
woodruffw merged commit 34b5afc into main Aug 1, 2025
@woodruffw
woodruffw deleted the ww/publish-docs-fixes branch August 1, 2025 20:11

This branch was previously deployed

1 inactive deployment
uv-test-registries — 2a1b37f7 Deployed Aug 1, 2025 by woodruffw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal A refactor or improvement that is not user-facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants