Skip to content

don't pesist credentials with actions/checkout#381

Merged
jorenham merged 1 commit intomainfrom
dont-presist-credentials
Apr 13, 2026
Merged

don't pesist credentials with actions/checkout#381
jorenham merged 1 commit intomainfrom
dont-presist-credentials

Conversation

@jorenham
Copy link
Copy Markdown
Owner

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR hardens GitHub Actions workflows by disabling credential persistence in actions/checkout, reducing the chance of the workflow token being left in the local git config for subsequent steps.

Changes:

  • Set persist-credentials: false on actions/checkout across CI, docs, and data-collection workflows.
  • Disable setup-uv caching in the PyPI publish workflow.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/publish-pypi.yml Disables checkout credential persistence and turns off uv caching during release publishing.
.github/workflows/docs.yml Disables checkout credential persistence for both the main and data branch checkouts in the docs deploy pipeline.
.github/workflows/collect.yml Disables checkout credential persistence for both the main and data branch checkouts in the collector pipeline.
.github/workflows/ci.yml Disables checkout credential persistence across all CI jobs.

Comment thread .github/workflows/publish-pypi.yml
Comment thread .github/workflows/collect.yml
@jorenham jorenham merged commit 8f0322d into main Apr 13, 2026
15 checks passed
@jorenham jorenham deleted the dont-presist-credentials branch April 13, 2026 10:11
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