File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,12 +17,21 @@ jobs:
1717 run :
1818 shell : bash
1919 container :
20- image : mcr.microsoft.com/devcontainers/base:ubuntu-24.04
21- volumes :
22- - ${{ github.workspace }}:${{ github.workspace }}
23- options : --device=/dev/mem --device=/dev/dri --group-add video --group-add 991 --security-opt seccomp=unconfined --cap-add=SYS_PTRACE --shm-size=8g
24- -e ZE_AFFINITY_MASK
25- --user 0:0
20+ image : ghcr.io/emmtrix/llvm-cpp2c-build-test:latest
21+ credentials :
22+ username : ${{ github.actor }}
23+ password : ${{ secrets.GITHUB_TOKEN }}
24+ # Copilot's helper scripts still resolve through host-style
25+ # /home/runner/_work/_temp/... paths even when a job container is active.
26+ # Keep the bind mount narrow so the container does not shadow the rest of
27+ # /home/runner while we test whether session-log streaming returns.
28+ options : --volume /home/runner/_work:/home/runner/_work
29+
30+ # Set minimal permissions for setup steps.
31+ # Copilot Agent receives its own token with appropriate permissions.
32+ permissions :
33+ contents : read
34+ packages : read
2635
2736 permissions :
2837 contents : read
You can’t perform that action at this time.
0 commit comments