From 241e58f3c5bde877e841de9d460182a9e58f0d8e Mon Sep 17 00:00:00 2001 From: Marc Ransome Date: Sat, 28 Dec 2024 14:33:19 +0100 Subject: [PATCH] Update markdown links workflow --- .github/workflows/markdown-links.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/markdown-links.yml b/.github/workflows/markdown-links.yml index a473b7d..5af6d2b 100644 --- a/.github/workflows/markdown-links.yml +++ b/.github/workflows/markdown-links.yml @@ -20,11 +20,13 @@ jobs: uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2 with: egress-policy: audit - - name: Check links in modified Markdown files - if: github.event_name == 'pull_request' + - name: Disable unprivileged user namespaces restrictions + run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns + shell: bash + - name: Check links in Markdown files uses: umbrelladocs/action-linkspector@fc382e19892aca958e189954912fe379a8df270c # v1.2.4 with: fail_on_error: true - filter_mode: file + filter_mode: nofilter github_token: ${{ secrets.GITHUB_TOKEN }} reporter: github-pr-review