Skip to content

ci(github): disable git credential persistence in workflow checkouts - #98

Open
darkweaver87 wants to merge 2 commits into
traefik:masterfrom
darkweaver87:chore/harden-ci-credential-persistence
Open

ci(github): disable git credential persistence in workflow checkouts#98
darkweaver87 wants to merge 2 commits into
traefik:masterfrom
darkweaver87:chore/harden-ci-credential-persistence

Conversation

@darkweaver87

Copy link
Copy Markdown
Contributor

Motivation

The actions/checkout steps persist the GitHub token in .git/config for the whole job (CWE-522/200). None of the three test jobs performs authenticated git operations after checkout, so this sets persist-credentials: false on all of them.

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.

1 participant