Skip to content

Commit 1005d61

Browse files
Prevent auto-label on forks (#927)
Signed-off-by: Matty Widdop <18513864+MattyTheHacker@users.noreply.github.com>
1 parent 744ba1a commit 1005d61

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/pr-auto-label.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
labeler:
10-
if: github.event.pull_request.user.type != 'Bot'
10+
if: github.repository == 'CSSUoB/cssuob.github.io' && github.event.pull_request.user.type != 'Bot'
1111
permissions:
1212
pull-requests: write
1313

0 commit comments

Comments
 (0)