Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/link-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,17 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}

# ubuntu-24.04 runners restrict unprivileged user namespaces via AppArmor,
# which Chromium's sandbox needs to launch. action-linkspector (used in the
# pr job above) works around this itself; a bare `npx linkspector` here
# does not, so it crashes with "No usable sandbox!" on every scheduled run.
# See https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md
- name: Allow Chromium's user-namespace sandbox
run: |
if [ -f /proc/sys/kernel/apparmor_restrict_unprivileged_userns ]; then
echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
fi

- name: Run linkspector
id: check
run: |
Expand Down