Commit b65d14a
committed
fix: address Copilot review round 9 findings
- Deduplicate tags in validate_tags() before counting; surface a
message when duplicates are removed
- Require at least one checkbox item in validate_checklist() so
missing/mangled checkbox syntax fails instead of silently passing
- Use packaging.version.Version for semver comparison with fallback,
fixing incorrect pre-release handling (e.g. 1.0.0-alpha vs 1.0.0)
- Omit version key from tools when no version is supplied instead of
writing a synthetic >=0.0.0 constraint
- Fail closed in _is_safe_redirect_target() on DNS resolution failure
to prevent DNS rebinding bypass
- Re-add 'validated' label on issue edits (remove + add) so
catalog-pr.yml is retriggered to update the generated PR
- Add tests for tag dedup validation and DNS-fail-closed behavior1 parent 1c10491 commit b65d14a
3 files changed
Lines changed: 63 additions & 18 deletions
File tree
- .github
- scripts
- workflows
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
161 | 166 | | |
162 | 167 | | |
163 | 168 | | |
| |||
256 | 261 | | |
257 | 262 | | |
258 | 263 | | |
259 | | - | |
| 264 | + | |
260 | 265 | | |
261 | 266 | | |
262 | 267 | | |
| |||
373 | 378 | | |
374 | 379 | | |
375 | 380 | | |
376 | | - | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
377 | 385 | | |
378 | | - | |
| 386 | + | |
379 | 387 | | |
380 | | - | |
| 388 | + | |
381 | 389 | | |
382 | 390 | | |
383 | 391 | | |
384 | 392 | | |
385 | 393 | | |
386 | | - | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
387 | 398 | | |
388 | 399 | | |
389 | 400 | | |
| |||
403 | 414 | | |
404 | 415 | | |
405 | 416 | | |
| 417 | + | |
| 418 | + | |
406 | 419 | | |
407 | 420 | | |
408 | 421 | | |
| |||
642 | 655 | | |
643 | 656 | | |
644 | 657 | | |
645 | | - | |
646 | | - | |
| 658 | + | |
| 659 | + | |
647 | 660 | | |
648 | | - | |
| 661 | + | |
649 | 662 | | |
650 | | - | |
651 | 663 | | |
652 | | - | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
653 | 668 | | |
654 | 669 | | |
655 | 670 | | |
| |||
668 | 683 | | |
669 | 684 | | |
670 | 685 | | |
671 | | - | |
672 | 686 | | |
673 | 687 | | |
674 | 688 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
101 | | - | |
| 102 | + | |
102 | 103 | | |
103 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
104 | 111 | | |
105 | 112 | | |
106 | 113 | | |
| |||
201 | 208 | | |
202 | 209 | | |
203 | 210 | | |
204 | | - | |
205 | | - | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
206 | 214 | | |
207 | 215 | | |
208 | 216 | | |
209 | | - | |
| 217 | + | |
210 | 218 | | |
211 | 219 | | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
212 | 226 | | |
213 | 227 | | |
214 | 228 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
84 | 95 | | |
85 | 96 | | |
86 | 97 | | |
| |||
181 | 192 | | |
182 | 193 | | |
183 | 194 | | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
0 commit comments