fix: correct Go module path for runner-guard v2 install#24787
Merged
Conversation
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/9570cd4a-1a2f-4ff3-b23a-273e143d8014 Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
pelikhan
April 5, 2026 23:00
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Fixes the go install command for runner-guard v2 by updating the module path to include the required /v2 major-version suffix so installs succeed under Go module versioning rules.
Changes:
- Updated the
go installpath in the workflow source (static-analysis-report.md) to.../runner-guard/v2/.... - Recompiled the generated workflow lock file (
static-analysis-report.lock.yml) to reflect the updated install command.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/static-analysis-report.md | Updates the go install module path to include /v2 so runner-guard v2 installs correctly. |
| .github/workflows/static-analysis-report.lock.yml | Regenerated compiled workflow output to incorporate the updated runner-guard install command. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 2/2 changed files
- Comments generated: 0
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.
go install github.com/Vigilant-LLC/runner-guard/cmd/runner-guard@v2.6.0fails because runner-guard v2 declares its module asgithub.com/Vigilant-LLC/runner-guard/v2ingo.mod. Go enforces the major version suffix convention — v2+ packages must include/v2in the import path.Changes
static-analysis-report.md: Updatedgo installpath to include/v2/static-analysis-report.lock.yml: Recompiled