Skip to content

Commit 72a49df

Browse files
committed
Do not run several CI jobs on forks
Closes: rectorphp/rector#9790
1 parent ef1594b commit 72a49df

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/claude_issue_fixer.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ permissions:
1212

1313
jobs:
1414
pick-and-fix:
15+
# Don't run on forks.
16+
if: github.repository == 'rectorphp/rector-src'
17+
1518
runs-on: ubuntu-latest
1619
timeout-minutes: 30
1720

.github/workflows/lock.yaml

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

88
jobs:
99
lock:
10+
# Don't run on forks.
11+
if: github.repository == 'rectorphp/rector-src'
1012
runs-on: ubuntu-latest
1113

1214
steps:

.github/workflows/stale.yaml

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

88
jobs:
99
stale:
10+
# Don't run on forks.
11+
if: github.repository == 'rectorphp/rector-src'
1012
runs-on: ubuntu-latest
1113
steps:
1214
- uses: actions/stale@v10

0 commit comments

Comments
 (0)