From d46c5acd50a591235cd8922fe8b5130280ed486a Mon Sep 17 00:00:00 2001 From: Matty Widdop <18513864+MattyTheHacker@users.noreply.github.com> Date: Fri, 28 Aug 2026 16:14:43 +0100 Subject: [PATCH] Prevent auto-label on forks Signed-off-by: Matty Widdop <18513864+MattyTheHacker@users.noreply.github.com> --- .github/workflows/pr-auto-label.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-auto-label.yml b/.github/workflows/pr-auto-label.yml index 481f5b83..c497ba36 100644 --- a/.github/workflows/pr-auto-label.yml +++ b/.github/workflows/pr-auto-label.yml @@ -7,7 +7,7 @@ on: jobs: labeler: - if: github.event.pull_request.user.type != 'Bot' + if: github.repository == 'CSSUoB/cssuob.github.io' && github.event.pull_request.user.type != 'Bot' permissions: pull-requests: write