Repository navigation
chore(ci): add check to verify vendored dependencies - #1551
Merged
Merged
Conversation
jasonwashburn
force-pushed
the
chore/ci-add-vendor-check
branch
from
September 11, 2026 14:53
5af1f07 to
60aefad
Compare
This reverts commit 60aefad.
Contributor
|
Contributor
There was a problem hiding this comment.
π’ Approval recommended
No unresolved issues were identified.
Pull request overview
Adds a CI check to verify that the committed vendor/ directory matches go mod vendor.
Changes:
- Runs
go mod vendorin the lint workflow. - Fails if generated vendor changes are detected.
File summaries
| File | Description |
|---|---|
.github/workflows/test.yaml |
Adds vendored dependency consistency validation. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Lite
π‘ Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
bradclawsie
approved these changes
Sep 11, 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.
Description
Adds check to CI to verify that
./vendordirectory is up to date, matches the expected output ofgo mod vendorand contains no unintended or undesired changes. If there are modifications present after running go mod vendor, the job fails.Evidence of expected failing behavior in 60aefad when adding an additional file, and modifying one of the vendored dependencies.

Action: https://github.com/defenseunicorns/uds-cli/actions/runs/34612830133/job/103307325591
Related Issue
N/A
Type of change
Checklist before merging