diff --git a/.github/sh/check-links.sh b/.github/sh/check-links.sh
new file mode 100755
index 00000000..b3a0a572
--- /dev/null
+++ b/.github/sh/check-links.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+ua="Mozilla/5.0 (X11; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0"
+
+muffet --rate-limit 4 -t 300 -b 16384 --skip-tls-verification \
+  --header "User-Agent: ${ua}" \
+  -e "\.(mkv|mp4|mpg|pdf)$" \
+  -e "#" \
+  -e "rdmo.*.de" \
+  -e "twitter" \
+  -e "www.ub.uni-rostock.de" \
+  -e "www.ub.uni-potsdam.de" \
+  https://rdmorganiser.github.io
diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml
index 5a69d21f..a9e83df6 100644
--- a/.github/workflows/check-links.yml
+++ b/.github/workflows/check-links.yml
@@ -15,6 +15,8 @@ jobs:
   check-links:
     runs-on: ubuntu-latest
     steps:
+      - name: Checkout
+        uses: actions/checkout@v3
       - name: install muffet
         env:
           URL: raviqqe/muffet
@@ -25,13 +27,5 @@ jobs:
           curl https://raw.githubusercontent.com/triole/ghwfe/master/sh/install_from_github.sh | bash
       - name: run the test
         env:
-          TARGET_FOLDER: /home/.local/bin
-        run: |
-          ${TARGET_FOLDER}/muffet --rate-limit 4 -t 60 -b 16384 --skip-tls-verification \
-          --header "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0" \
-          -e "\.(mkv|mp4|mpg|pdf)$" \
-          -e "#" \
-          -e "rdmo.*.de" \
-          -e "twitter" \
-          -e "www.ub.uni-rostock.de" \
-          https://rdmorganiser.github.io
+          PATH: ${PATH}:/home/.local/bin
+        run: .github/sh/check-links.sh