Skip to content

Disable persisted credentials in checkout workflow steps #444

Description

@coderabbitai

Summary

Configure affected actions/checkout steps with persist-credentials: false so the GitHub token is not retained in local Git configuration while repository-controlled npm commands run.

Rationale

Reducing the lifetime and availability of workflow credentials lowers the risk of token exposure through build or packaging steps.

Affected areas

  • .github/workflows/cd.yml
  • .github/workflows/ci.yml
  • .github/workflows/deps.yml

.github/workflows/e2e.yml already sets persist-credentials: false and does not need changes.

References

Acceptance criteria

  • Every actions/checkout step in the affected workflows sets persist-credentials: false.
  • No checkout behavior unrelated to credential persistence is changed.
  • The existing secure configuration in .github/workflows/e2e.yml remains unchanged.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions