Skip to content

Commit 3e183a9

Browse files
authored
ci: disable AppArmor to allow Chrome sandbox (#511)
Fixes #512
1 parent 11bda98 commit 3e183a9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

+6
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ jobs:
3131
test:
3232
runs-on: ubuntu-latest
3333
steps:
34+
- name: Disable AppArmor
35+
if: runner.os == 'Linux'
36+
run: |
37+
# Disable AppArmor for Ubuntu 23.10+.
38+
# https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md
39+
echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
3440
- uses: actions/checkout@v4
3541
- uses: actions/setup-go@v5
3642
with:

0 commit comments

Comments
 (0)