Commit 972eb95
feat(ci): add path-based conditional CI and update copilot instructions
CI Optimization:
- Add dorny/paths-filter to ci.yml to detect which areas changed
- Python lint/test/security: only run when packages/*/src changes
- .NET test: only run when agent-governance-dotnet/ changes
- TS tests: only run when TS/copilot files change
- Integration tests: only on integration package changes
- Workflow security audit: only on .github/workflows/ changes
- Dependency scan: always runs (security gate)
- ClusterFuzzLite: add path filter for packages/*/src + fuzz/
- Security scan: add path filter for packages/ + scripts/
This means docs-only PRs skip all builds/tests, and language-specific
changes only trigger their relevant test suites.
Copilot Instructions:
- Add PR Merge Workflow section (update branch -> approve workflows ->
approve PR -> auto-merge -> move to next)
- Add CI Optimization section documenting path filter behavior
- Expand registered packages list (PyPI, npm, crates.io)
- Add MIT license header requirement as check #8
- Add Docker image pinning rule
- Add Rust unwrap() rule
- Add per-language header format examples
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent fa4176d commit 972eb95
File tree
4 files changed
+114
-4
lines changed- .github
- workflows
4 files changed
+114
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
3 | 16 | | |
4 | 17 | | |
5 | 18 | | |
6 | 19 | | |
7 | 20 | | |
8 | 21 | | |
9 | 22 | | |
10 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
11 | 29 | | |
12 | 30 | | |
13 | 31 | | |
14 | 32 | | |
15 | 33 | | |
| 34 | + | |
16 | 35 | | |
17 | 36 | | |
18 | 37 | | |
19 | 38 | | |
20 | 39 | | |
21 | | - | |
| 40 | + | |
22 | 41 | | |
23 | 42 | | |
24 | 43 | | |
25 | 44 | | |
| 45 | + | |
| 46 | + | |
26 | 47 | | |
27 | 48 | | |
28 | 49 | | |
29 | 50 | | |
30 | 51 | | |
31 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
32 | 55 | | |
33 | 56 | | |
34 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
35 | 69 | | |
36 | 70 | | |
37 | | - | |
| 71 | + | |
38 | 72 | | |
39 | 73 | | |
40 | 74 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
7 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
8 | 14 | | |
9 | 15 | | |
10 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
13 | 54 | | |
| 55 | + | |
| 56 | + | |
14 | 57 | | |
15 | 58 | | |
16 | 59 | | |
| |||
25 | 68 | | |
26 | 69 | | |
27 | 70 | | |
| 71 | + | |
28 | 72 | | |
| 73 | + | |
| 74 | + | |
29 | 75 | | |
30 | 76 | | |
31 | 77 | | |
| |||
46 | 92 | | |
47 | 93 | | |
48 | 94 | | |
| 95 | + | |
49 | 96 | | |
| 97 | + | |
| 98 | + | |
50 | 99 | | |
51 | 100 | | |
52 | 101 | | |
| |||
68 | 117 | | |
69 | 118 | | |
70 | 119 | | |
| 120 | + | |
71 | 121 | | |
| 122 | + | |
| 123 | + | |
72 | 124 | | |
73 | 125 | | |
74 | 126 | | |
| |||
82 | 134 | | |
83 | 135 | | |
84 | 136 | | |
| 137 | + | |
85 | 138 | | |
| 139 | + | |
| 140 | + | |
86 | 141 | | |
87 | 142 | | |
88 | 143 | | |
| |||
153 | 208 | | |
154 | 209 | | |
155 | 210 | | |
| 211 | + | |
156 | 212 | | |
157 | 213 | | |
158 | 214 | | |
| |||
204 | 260 | | |
205 | 261 | | |
206 | 262 | | |
| 263 | + | |
207 | 264 | | |
| 265 | + | |
| 266 | + | |
208 | 267 | | |
209 | 268 | | |
210 | 269 | | |
| |||
226 | 285 | | |
227 | 286 | | |
228 | 287 | | |
| 288 | + | |
229 | 289 | | |
| 290 | + | |
| 291 | + | |
230 | 292 | | |
231 | 293 | | |
232 | 294 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
6 | 10 | | |
7 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
8 | 16 | | |
9 | 17 | | |
10 | 18 | | |
| |||
0 commit comments