From 2e85167188bcded572c5839bcabdf1c920fbd927 Mon Sep 17 00:00:00 2001
From: Matt Jankowski <matt@jankowski.online>
Date: Tue, 13 Aug 2024 17:37:26 -0400
Subject: [PATCH] Only run PR rebase needed check on non-fork repos (#31401)

---
 .github/workflows/rebase-needed.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/rebase-needed.yml b/.github/workflows/rebase-needed.yml
index 8784397a8f..f0fc8b0db7 100644
--- a/.github/workflows/rebase-needed.yml
+++ b/.github/workflows/rebase-needed.yml
@@ -10,6 +10,7 @@ permissions:
 jobs:
   label-rebase-needed:
     runs-on: ubuntu-latest
+    if: github.repository == 'mastodon/mastodon'
 
     concurrency:
       group: ${{ github.workflow }}-${{ github.ref }}