Skip to content

Commit 3820e61

Browse files
authored
Don't run Rector job inside forks (#87)
1 parent f2daba1 commit 3820e61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/code_analysis.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
rector:
1414
# run only on PR's from branches on main repository (from core contributors), not on the forks or PR's from forks.
15-
if: github.event.pull_request.head.repo.full_name == github.repository
15+
if: github.event.pull_request.head.repo.full_name == github.repository && github.repository == 'driftingly/rector-laravel'
1616

1717
# see https://github.com/rectorphp/reusable-workflows
1818
uses: rectorphp/reusable-workflows/.github/workflows/rector.yaml@main

0 commit comments

Comments
 (0)