Commit e1dbc85
fix: gracefully handle outdated skills-lock.json in copilot setup workflow
Instead of failing the step when skills-lock.json is out of date:
- Emit a warning annotation
- Delete .agents/skills directory (stale external skills)
- Revert all working tree changes
- Continue without failing
Also add GIT_CONFIG_* env vars for reproducible hash computation.
Resolves #1779
Agent-Logs-Url: https://github.com/usethis-python/usethis-python/sessions/4eae6f6e-af38-472f-b7b4-671eda64b9b3
Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com>1 parent cfe6fc0 commit e1dbc85
2 files changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
36 | 40 | | |
37 | 41 | | |
38 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
39 | 47 | | |
40 | 48 | | |
41 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
0 commit comments