Repository navigation
[eng-2623] Stop persisting GITHUB_TOKEN in checkout steps - #42
Merged
Merged
Conversation
Co-Authored-By: Daniel Trugman <daniel@requesty.ai>
devin-ai-integration
Bot
requested review from
lavicosa,
requesty-JohnCosta27 and
requesty-ditti
as code owners
November 28, 2026 15:40
Contributor
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
Co-Authored-By: Daniel Trugman <daniel@requesty.ai>
requesty-ditti
approved these changes
Nov 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ticket: ENG-2623
Summary
All 5
actions/checkoutsteps (build_release.yml,lint.yml×3,tests.yml) now setpersist-credentials: false, so theGITHUB_TOKENis 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 theGITHUB_TOKENenv 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