diff --git a/.github/workflows/clean.yml b/.github/workflows/clean.yml
index b6cdda062..50449aa9b 100644
--- a/.github/workflows/clean.yml
+++ b/.github/workflows/clean.yml
@@ -224,6 +224,7 @@ jobs:
           branch: bot/remove-broken-links
           file_pattern: channels/*
   pull-request:
+    if: ${{ github.ref == 'refs/heads/master' }}
     runs-on: ubuntu-latest
     needs: commit-changes
     steps: