Skip to content

Commit 8b4ba39

Browse files
hugovkim-vinicius
authored and
im-vinicius
committed
CI: Don't run cron for forks (pandas-dev#53129)
Don't run cron for forks
1 parent ce1c36d commit 8b4ba39

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.github/workflows/codeql.yml

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
actions: read
1919
contents: read
2020
security-events: write
21+
if: github.repository_owner == 'pandas-dev'
2122

2223
strategy:
2324
fail-fast: false

.github/workflows/stale-pr.yml

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
stale:
1212
permissions:
1313
pull-requests: write
14+
if: github.repository_owner == 'pandas-dev'
1415
runs-on: ubuntu-22.04
1516
steps:
1617
- uses: actions/stale@v8

.github/workflows/wheels.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
build_wheels:
4141
name: Build wheel for ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}
4242
if: >-
43-
github.event_name == 'schedule' ||
43+
(github.event_name == 'schedule' && github.repository_owner == 'pandas-dev') ||
4444
github.event_name == 'workflow_dispatch' ||
4545
(github.event_name == 'pull_request' &&
4646
contains(github.event.pull_request.labels.*.name, 'Build')) ||

0 commit comments

Comments
 (0)