Commit ebc1924
feat(ci): add copilot-setup-steps.yml for delegated CI-fix sessions (#174)
Pre-installs the pinned CodeQL CLI (via the existing install-codeql
composite action) and clones the matching codeql-cli-<version> branch
of github/codeql, so a Copilot coding agent session delegated to fix
compile/test errors from a CLI bump has everything it needs to run
`codeql pack install`/`codeql test run` itself instead of discovering
and installing the CLI through trial and error.
The github/codeql clone matters specifically for tests: several
languages' test `options` files (e.g. java/test/**/options) reference
third-party library stubs (log4j, servlet-api, etc.) via a relative
path into a sibling github/codeql checkout rather than vendoring those
stub jars into this repo - without it, codeql test run can't compile
the test snippets at all. This mirrors what ci.yml's own "Install
Packs" step already does.
Also links this from CONTRIBUTING.md's "Fix any compilation/test
errors" checklist item.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>1 parent 1c5a633 commit ebc1924
2 files changed
Lines changed: 61 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 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 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
244 | 247 | | |
245 | 248 | | |
246 | 249 | | |
| |||
385 | 388 | | |
386 | 389 | | |
387 | 390 | | |
| 391 | + | |
388 | 392 | | |
389 | 393 | | |
390 | 394 | | |
| |||
0 commit comments