Skip to content

Commit e939bfc

Browse files
authored
GHA concurrency followup (#6223)
* Update ci.yaml * Update ci-additional.yaml
1 parent e8d4239 commit e939bfc

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/ci-additional.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ jobs:
1616
detect-ci-trigger:
1717
name: detect ci trigger
1818
runs-on: ubuntu-latest
19+
if: |
20+
github.repository == 'pydata/xarray'
21+
&& (github.event_name == 'push' || github.event_name == 'pull_request')
1922
outputs:
2023
triggered: ${{ steps.detect-trigger.outputs.trigger-found }}
2124
steps:

.github/workflows/ci.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ jobs:
1616
detect-ci-trigger:
1717
name: detect ci trigger
1818
runs-on: ubuntu-latest
19+
if: |
20+
github.repository == 'pydata/xarray'
21+
&& (github.event_name == 'push' || github.event_name == 'pull_request')
1922
outputs:
2023
triggered: ${{ steps.detect-trigger.outputs.trigger-found }}
2124
steps:

0 commit comments

Comments
 (0)