File tree 2 files changed +20
-2
lines changed
2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: daily
2
2
on :
3
3
workflow_dispatch :
4
4
schedule :
5
- - cron : ' 42 0 * * *' # daily at 00:42
5
+ - cron : " 42 0 * * *" # daily at 00:42
6
6
concurrency :
7
7
group : ${{ github.workflow }}
8
8
cancel-in-progress : true
19
19
test :
20
20
runs-on : ubuntu-latest
21
21
steps :
22
+ - name : Disable AppArmor
23
+ if : runner.os == 'Linux'
24
+ run : |
25
+ # Disable AppArmor for Ubuntu 23.10+.
26
+ # https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md
27
+ echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
22
28
- uses : actions/checkout@v4
23
29
- uses : actions/setup-go@v5
24
30
with :
41
47
test-dev :
42
48
runs-on : ubuntu-latest
43
49
steps :
50
+ - name : Disable AppArmor
51
+ if : runner.os == 'Linux'
52
+ run : |
53
+ # Disable AppArmor for Ubuntu 23.10+.
54
+ # https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md
55
+ echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
44
56
- uses : actions/checkout@v4
45
57
with :
46
58
ref : dev
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: static
2
2
3
3
on :
4
4
push :
5
- branches : [' master' ]
5
+ branches : [" master" ]
6
6
workflow_dispatch :
7
7
8
8
# Set permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages.
22
22
url : ${{ steps.deployment.outputs.page_url }}
23
23
runs-on : ubuntu-latest
24
24
steps :
25
+ - name : Disable AppArmor
26
+ if : runner.os == 'Linux'
27
+ run : |
28
+ # Disable AppArmor for Ubuntu 23.10+.
29
+ # https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md
30
+ echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
25
31
- name : Checkout
26
32
uses : actions/checkout@v4
27
33
- name : Setup Pages
You can’t perform that action at this time.
0 commit comments