Skip to content

fix: correct Go module path for runner-guard v2 install#24787

Merged
pelikhan merged 1 commit intomainfrom
copilot/research-runner-guard-installation
Apr 5, 2026
Merged

fix: correct Go module path for runner-guard v2 install#24787
pelikhan merged 1 commit intomainfrom
copilot/research-runner-guard-installation

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 5, 2026

go install github.com/Vigilant-LLC/runner-guard/cmd/runner-guard@v2.6.0 fails because runner-guard v2 declares its module as github.com/Vigilant-LLC/runner-guard/v2 in go.mod. Go enforces the major version suffix convention — v2+ packages must include /v2 in the import path.

Changes

  • static-analysis-report.md: Updated go install path to include /v2/
  • static-analysis-report.lock.yml: Recompiled
- go install github.com/Vigilant-LLC/runner-guard/cmd/runner-guard@v2.6.0
+ go install github.com/Vigilant-LLC/runner-guard/v2/cmd/runner-guard@v2.6.0

@pelikhan pelikhan marked this pull request as ready for review April 5, 2026 23:00
Copilot AI review requested due to automatic review settings April 5, 2026 23:00
@pelikhan pelikhan merged commit ff01cc4 into main Apr 5, 2026
51 of 52 checks passed
@pelikhan pelikhan deleted the copilot/research-runner-guard-installation branch April 5, 2026 23:00
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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 install path 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

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.

3 participants