diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml
index 9a4feec0a0f811bfe9495d5cc4d1209b6a614660..16bfce3eb92ae0787f5df9fbf611408f11899c8c 100644
--- a/.github/workflows/documentation.yml
+++ b/.github/workflows/documentation.yml
@@ -2,11 +2,11 @@ name: Documentation
 
 on:
   push:
-    branches: [ master, release-* ]
+    branches: [ master, simplesamlphp-* ]
     paths:
       - '**.md'
   pull_request:
-    branches: [ master, release-* ]
+    branches: [ master, simplesamlphp-* ]
     paths:
       - '**.md'