Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3e183a9

Browse files
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

Lines changed: 6 additions & 0 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /