Skip to content

[codex] Address some more GHA hygiene issues#21622

Merged
ww-oai merged 2 commits into
mainfrom
ww/drop-persisted-creds
May 8, 2026
Merged

[codex] Address some more GHA hygiene issues#21622
ww-oai merged 2 commits into
mainfrom
ww/drop-persisted-creds

Conversation

@ww-oai
Copy link
Copy Markdown
Contributor

@ww-oai ww-oai commented May 8, 2026

This does two things:

  • We use persist-credentials: false everywhere now. This is unfortunately not the default in GitHub Actions, but it prevents actions/checkout from dropping secrets.GITHUB_TOKEN onto disk.
  • We interpose (some) template expansions through environment variables. I've limited this to contexts that have non-fixed values; contexts that are fixed (like *.result) are not dangerous to expand directly inline (but maybe we should clean those up in the future for consistency anyways).

This is a medium-risk change in terms of CI breakage: I did a scan for usage of git push and other commands that implicitly use the persisted credential, but couldn't find any. Even still, some implicit usages of the persisted credentials may be lurking. Please ping ww@ if any issues arise.

@ww-oai ww-oai merged commit 8bea5d2 into main May 8, 2026
29 checks passed
@ww-oai ww-oai deleted the ww/drop-persisted-creds branch May 8, 2026 17:19
@github-actions github-actions Bot locked and limited conversation to collaborators May 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants