Skip to content

[eng-2623] Stop persisting GITHUB_TOKEN in checkout steps - #42

Merged
requesty-ditti merged 2 commits into
mainfrom
fix/eng-2623-checkout-persist-credentials
Nov 28, 2026
Merged

requesty-ditti merged 2 commits into
mainfrom
fix/eng-2623-checkout-persist-credentials

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Ticket: ENG-2623

Summary

All 5 actions/checkout steps (build_release.yml, lint.yml ×3, tests.yml) now set persist-credentials: false, so the GITHUB_TOKEN is no longer left in the git config for later steps to read. This fixes the security scanner findings.

No step needs git auth after checkout. In build_release.yml, GoReleaser creates the GitHub release through the API with the GITHUB_TOKEN env var. Its changelog reads tags from the full local clone (fetch-depth: 0), so it never pushes or fetches.

Same fix as backend #3542.

Link to Devin session: https://app.devin.ai/sessions/290a020968404c5a9e48062c94f30e2a
Open in Devin Desktop: https://app.devin.ai/desktop/session/290a020968404c5a9e48062c94f30e2a?variant=devin
Requested by: @requesty-ditti


🟢 Devin Review found nothing to fix · View findings

Devin Review

Co-Authored-By: Daniel Trugman <daniel@requesty.ai>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Note

Newer findings are available below. Devin Review posted a newer report on this PR, in addition to the findings presented here.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

Co-Authored-By: Daniel Trugman <daniel@requesty.ai>

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@requesty-ditti
requesty-ditti merged commit 7f7b614 into main Nov 28, 2026
9 checks passed
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