Skip to content

Commit 936963d

Browse files
kylegordonclaude
andcommitted
Pin Copilot CLI version in grumpy-reviewer to avoid toolcache ENOENT
The runner's toolcache activation path for a cached Copilot CLI only adds it to PATH and never stages a copy at /usr/local/bin/copilot, which the AWF sandbox hardcodes and can't resolve via PATH. Pinning an explicit engine.version forces the exact-match install path, which always extracts straight into /usr/local/bin/copilot, sidestepping the buggy cache-hit branch in install_copilot_cli.sh. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 5232688 commit 936963d

3 files changed

Lines changed: 27 additions & 14 deletions

File tree

.github/aw/actions-lock.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"entries": {
3+
"github/gh-aw-actions/setup@v0.85.4": {
4+
"repo": "github/gh-aw-actions/setup",
5+
"version": "v0.85.4",
6+
"sha": "2709137ea6c5b0e19aa621454dc643ea8dc526b1"
7+
}
8+
}
9+
}

.github/workflows/grumpy-reviewer.lock.yml

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/grumpy-reviewer.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
name: grumpy
77
events: [pull_request_comment, pull_request_review_comment]
88

9+
engine:
10+
id: copilot
11+
version: "1.0.80"
12+
913
permissions:
1014
contents: read
1115
pull-requests: read

0 commit comments

Comments
 (0)