Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
130 changes: 130 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
Automation:
- changed-files:
- any-glob-to-any-file:
- .github/**

CI:
- changed-files:
- any-glob-to-any-file:
- ci/**

dependencies:
- changed-files:
- any-glob-to-any-file:
- ci/requirements/*

topic-arrays:
- changed-files:
- any-glob-to-any-file:
- xarray/core/duck_array_ops.py

topic-backends:
- changed-files:
- any-glob-to-any-file:
- xarray/backends/**

topic-cftime:
- changed-files:
- any-glob-to-any-file:
- xarray/coding/*time*

topic-CF conventions:
- changed-files:
- any-glob-to-any-file:
- xarray/conventions.py

topic-combine:
- changed-files:
- any-glob-to-any-file:
- xarray/core/combine.py

topic-dask:
- changed-files:
- any-glob-to-any-file:
- xarray/core/dask*
- xarray/core/parallel.py

topic-DataTree:
- changed-files:
- any-glob-to-any-file:
- xarray/core/datatree*

# topic-documentation:
# - changed-files:
# - any-glob-to-any-file:
# - ['doc/*', '!doc/whats-new.rst', 'doc/**/*']

topic-faq:
- changed-files:
- any-glob-to-any-file:
- doc/howdoi.rst

topic-groupby:
- changed-files:
- any-glob-to-any-file:
- xarray/core/groupby.py

topic-html-repr:
- changed-files:
- any-glob-to-any-file:
- xarray/core/formatting_html.py

topic-hypothesis:
- changed-files:
- any-glob-to-any-file:
- xarray/properties/*
- xarray/testing/strategies/*

topic-indexing:
- changed-files:
- any-glob-to-any-file:
- xarray/core/indexes.py
- xarray/core/indexing.py

topic-NamedArray:
- changed-files:
- any-glob-to-any-file:
- xarray/namedarray/*

topic-performance:
- changed-files:
- any-glob-to-any-file:
- asv_bench/benchmarks/**

topic-plotting:
- changed-files:
- any-glob-to-any-file:
- xarray/plot/*
- xarray/plot/**/*

topic-rolling:
- changed-files:
- any-glob-to-any-file:
- xarray/core/rolling.py
- xarray/core/rolling_exp.py

topic-testing:
- changed-files:
- any-glob-to-any-file:
- conftest.py
- xarray/testing.py
- xarray/testing/*

topic-typing:
- changed-files:
- any-glob-to-any-file:
- xarray/core/types.py

topic-zarr:
- changed-files:
- any-glob-to-any-file:
- xarray/backends/zarr.py

io:
- changed-files:
- any-glob-to-any-file:
- xarray/backends/**

# label all PRs as "needs triage"
needs triage:
- head-branch: ".*"
2 changes: 1 addition & 1 deletion .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:

jobs:
benchmark:
if: ${{ contains( github.event.pull_request.labels.*.name, 'run-benchmark') && github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' }}
if: ${{ contains( github.event.pull_request.labels.*.name, 'run-benchmark') && github.event_name == 'pull_request' || contains( github.event.pull_request.labels.*.name, 'topic-performance') && github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' }}
name: Linux
runs-on: ubuntu-20.04
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ jobs:
- name: Install xarray
run: |
python -m pip install --no-deps -e .

- run: echo "hello"
- name: Version info
run: |
python xarray/util/print_versions.py
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/label-prs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: "PR Labeler"
on:
- pull_request_target

jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: false