Skip to content

Commit 0968d56

Browse files
committed
ci: skip forks when labeling prs
Signed-off-by: Michael Molisani <mmolisani@bloomberg.net>
1 parent 4190189 commit 0968d56

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/pr_labels.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99

1010
jobs:
1111
main:
12+
# Only run on local PRs, not forks
13+
if: github.event.pull_request.head.repo.full_name == github.repository
1214
runs-on: ubuntu-latest
1315
steps:
1416
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)