Commit d68df81
Address Copilot review on PR #89
Three findings, all addressed:
- Path globs: \`**.py\` doesn't actually match nested subdirs in
GitHub Actions glob semantics — it behaves like \`*.py\`. Switch
to \`**/*.py\` so changes under src/communitymech/<subpkg>/ (like
network/, validators/, embedding/) trigger the workflow.
- Push trigger had no \`paths:\` filter, so the workflow ran on
every commit to main. Mirror the pull_request path list via a
YAML anchor (&trigger_paths + *trigger_paths) so the two stay in
sync.
- uv sync: switch to \`--frozen --all-extras\` so the workflow fails
if uv.lock is stale (instead of silently re-resolving) while
keeping the dev/test extras the existing network-quality.yml
uses. Also added uv.lock + tests/**/*.py to the trigger paths so
dependency and test changes re-run the workflow.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 62e0a8c commit d68df81
1 file changed
Lines changed: 11 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
40 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
41 | 48 | | |
42 | 49 | | |
43 | 50 | | |
| |||
0 commit comments