Skip to content

Commit 78efd2b

Browse files
do it right
1 parent fe56723 commit 78efd2b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/pr-linux-copilot.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ jobs:
99
linux-copilot:
1010
name: ${{ inputs.job_name }}
1111
runs-on: [ self-hosted, 1ES.Pool=1es-vscode-oss-ubuntu-22.04-x64 ]
12+
permissions:
13+
contents: read
14+
id-token: write
15+
copilot_messages: read
16+
pull-requests: write
1217
env:
1318
NPM_ARCH: x64
1419
VSCODE_ARCH: x64
@@ -177,7 +182,7 @@ jobs:
177182

178183
- name: Test GitHub Copilot CLI
179184
env:
180-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
185+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
181186
run: |
182187
PROMPT="Using the vscode_automation tools... Run the MCP: Add Server command and add an http server with a url of https://stytch-as-demo.val.run/mcp and a name of 'stytch'. Then stop the vscode_automation and open the ${{ github.workspace }}/.build/vscode-playwright-mcp/videos folder"
183188
copilot -p "$PROMPT" --allow-all-tools --additional-mcp-config '{"mcpServers":{"vscode-playwright-mcp":{"type":"local","command":"sh","tools":["*"],"args":["${{ github.workspace }}/test/mcp/scripts/start-stdio.sh"]}}}'

0 commit comments

Comments
 (0)