Skip to content

Commit f9037c4

Browse files
authored
Disable CI runs on forks (#6315)
1 parent 0f91f05 commit f9037c4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/ci-additional.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ jobs:
119119
doctest:
120120
name: Doctests
121121
runs-on: "ubuntu-latest"
122+
if: needs.detect-ci-trigger.outputs.triggered == 'false'
122123
defaults:
123124
run:
124125
shell: bash -l {0}

.github/workflows/ci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ jobs:
115115
event_file:
116116
name: "Event File"
117117
runs-on: ubuntu-latest
118+
if: github.repository == 'pydata/xarray'
118119
steps:
119120
- name: Upload
120121
uses: actions/upload-artifact@v2

0 commit comments

Comments
 (0)