[Repo Assist] ci: pin actions/github-script to SHA (upgrade @v7 → @v8)#2321
Closed
github-actions[bot] wants to merge 1 commit intomainfrom
Closed
Conversation
truncateForLog in handler.go is a private helper that duplicates the behaviour of strutil.Truncate, which already exists as a shared utility and is used by logger/rpc_helpers.go and auth/header.go. Remove the private copy and use strutil.Truncate directly. The semantics are identical: both truncate to maxLen characters and append '...' if the string was longer. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This was referenced Mar 22, 2026
Closed
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.
🤖 This PR was created by Repo Assist, an automated AI assistant.
Summary
All other GitHub Actions in
ci.ymlare already pinned to immutable commit SHAs — but the fouractions/github-scriptusages still reference the mutable tag@v7, which can be silently updated by the action author.This PR pins all four uses to
ed597411d8f924073f98dfc5c65a23a2325f34cd(v8), the same SHA used in every other workflow in this repository (agentics-maintenance.yml,rust-guard-improver.lock.yml, etc.).Changes
.github/workflows/ci.yml: replaceactions/github-script@v7withactions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8in four places (smoke-copilot-pr,smoke-copilot,large-payload-tester,language-support-testerjobs).Rationale
github-scriptin line with the existing pattern.Test Status
This is a CI workflow file change only — no Go code is modified. The change is purely mechanical (tag → SHA). The same SHA (
ed597411d8f924073f98dfc5c65a23a2325f34cd) has been running successfully in multiple other workflows in this repo.Warning
The following domain was blocked by the firewall during workflow execution:
proxy.golang.orgTo allow these domains, add them to the
network.allowedlist in your workflow frontmatter:See Network Configuration for more information.