Commit 94c4087
fix: install gh-aw CLI extension in workflow pre-steps (#24335)
* fix: install gh-aw CLI extension in workflow pre-steps
Multiple workflows using `./gh-aw logs` and `./gh-aw compile` in
frontmatter `steps:` were silently failing because the gh-aw binary
is not available in the runner's sparse-checkout working directory.
The `steps:` run before the Copilot CLI and AWF are installed, and
the runner only has a sparse checkout of the actions/ folder — no
gh-aw binary exists at `./gh-aw`.
Fix: Add an 'Install gh-aw CLI' step before data download steps and
change `./gh-aw` to `gh aw` (extension invocation) in all affected
workflows:
- copilot-token-usage-analyzer
- claude-token-usage-analyzer
- copilot-token-optimizer
- claude-token-optimizer
- daily-copilot-token-report
- daily-integrity-analysis
- daily-syntax-error-quality
- portfolio-analyst
- static-analysis-report
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Update .github/workflows/daily-syntax-error-quality.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix: recompile daily-syntax-error-quality lock file after bash tool glob update
Recompile to match the updated bash tool pattern 'gh aw compile *'
which was added via GitHub UI edit.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>1 parent 211dcda commit 94c4087
18 files changed
Lines changed: 334 additions & 180 deletions
File tree
- .github/workflows
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
47 | 57 | | |
48 | 58 | | |
49 | 59 | | |
| |||
52 | 62 | | |
53 | 63 | | |
54 | 64 | | |
55 | | - | |
| 65 | + | |
56 | 66 | | |
57 | 67 | | |
58 | 68 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
39 | 49 | | |
40 | 50 | | |
41 | 51 | | |
| |||
44 | 54 | | |
45 | 55 | | |
46 | 56 | | |
47 | | - | |
| 57 | + | |
48 | 58 | | |
49 | 59 | | |
50 | 60 | | |
| |||
0 commit comments