Repository navigation
ci: run tests when src/go.mod or src/go.sum change - #432
Merged
Merged
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
archf
approved these changes
Oct 16, 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.
Problem
The Tests workflow's
pull_requestpath filter listsgo.mod, which only matches a root-levelgo.mod. That file doesn't exist. The module lives insrc/, so PRs that only changesrc/go.mod/src/go.sumnever trigger Tests. That includes every Dependabot Go bump (#411, #413, #415, #416, #417, #426, #427, #428, #429), which currently get only Changie Gen and CodeQL.Solution
Replace
'go.mod'with'src/go.mod'and'src/go.sum'in thepull_request.pathsfilter of.github/workflows/tests.yml. Pushes tomainare unaffected, since that trigger has no path filter.No changie entry, because nothing changes for customers (same as #424).
Checklist
tests.yml, which is already in the filter, so the Tests run on this PR is the check. After merge, rebased Dependabot PRs should start running Tests.)