Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: synced file(s) with ecmwf-actions/reusable-workflows #84

Merged
merged 15 commits into from
Feb 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
95894d2
chore: synced local './' with remote 'sync-files/general/python/'
DeployDuck Jan 31, 2025
997f985
chore: synced local 'graphs/' with remote 'sync-files/general/python/'
DeployDuck Jan 31, 2025
79b5419
chore: synced local 'models/' with remote 'sync-files/general/python/'
DeployDuck Jan 31, 2025
07067cf
chore: synced local 'training/' with remote 'sync-files/general/python/'
DeployDuck Jan 31, 2025
435f74a
chore: created local 'CONTRIBUTORS.md' from remote 'sync-files/anemoi…
DeployDuck Jan 31, 2025
c1979b9
chore: synced local 'graphs/CONTRIBUTORS.md' with remote 'sync-files/…
DeployDuck Jan 31, 2025
7fdfc23
chore: synced local 'models/CONTRIBUTORS.md' with remote 'sync-files/…
DeployDuck Jan 31, 2025
2ef7fa8
chore: synced local 'training/CONTRIBUTORS.md' with remote 'sync-file…
DeployDuck Jan 31, 2025
d095279
chore: created local '.github/PULL_REQUEST_TEMPLATE/pull_request_temp…
DeployDuck Jan 31, 2025
22c5cac
chore: created local '.gitignore' from remote 'sync-files/anemoi/.git…
DeployDuck Jan 31, 2025
97592e0
chore: created local '.github/workflows/pr-label-public.yml' from rem…
DeployDuck Jan 31, 2025
4170016
chore: created local '.github/workflows/pr-label-conventional-commits…
DeployDuck Jan 31, 2025
b674e9a
chore: created local '.github/workflows/pr-label-file-based.yml' from…
DeployDuck Jan 31, 2025
6f3790c
chore: synced local '.github/workflows/pr-conventional-commit.yml' wi…
DeployDuck Jan 31, 2025
61df914
Remove wrong dependabots
gmertes Feb 4, 2025
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
51 changes: 51 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
## Description

<!-- Provide a brief summary of the changes introduced in this pull request. -->

## Type of Change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Documentation update

## Issue Number

<!-- Link the Issue number this change addresses, ideally in one of the "magic format" such as Closes #XYZ -->

<!-- Alternatively, explain the motivation behind the changes and the context in which they are being made. -->

## Code Compatibility

- [ ] I have performed a self-review of my code

### Code Performance and Testing

- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] I ran the [complete Pytest test](https://anemoi.readthedocs.io/projects/training/en/latest/dev/testing.html) suite locally, and they pass
- [ ] I have tested the changes on a single GPU
- [ ] I have tested the changes on multiple GPUs / multi-node setups
- [ ] I have run the [Benchmark Profiler](https://anemoi.readthedocs.io/projects/training/en/latest/user-guide/benchmarking.html) against the old version of the code


<!-- In case this affects the model sharding or other specific components please describe these here. -->

### Dependencies

- [ ] I have ensured that the code is still pip-installable after the changes and runs
- [ ] I have tested that new dependencies themselves are pip-installable.
- [ ] I have not introduced new dependencies in the inference portion of the pipeline

<!-- List any new dependencies that are required for this change and the justification to add them. -->

### Documentation

- [ ] My code follows the style guidelines of this project
- [ ] I have updated the documentation and docstrings to reflect the changes
- [ ] I have added comments to my code, particularly in hard-to-understand areas

<!-- Describe any major updates to the documentation -->

## Additional Notes

<!-- Include any additional information, caveats, or considerations that the reviewer should be aware of. -->
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
JesperDramsch marked this conversation as resolved.
Show resolved Hide resolved
updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
# - package-ecosystem: "github-actions"
# directory: "/"
# schedule:
# interval: "monthly"
3 changes: 2 additions & 1 deletion .github/workflows/pr-conventional-commit.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: "Ensure Conventional Commit in PR title"
# This workflow ensures that the PR title follows the Conventional Commit format.
name: "[Pull Request] Ensure Conventional Commit in PR title"

on:
pull_request_target:
Expand Down
48 changes: 48 additions & 0 deletions .github/workflows/pr-label-conventional-commits.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# This workflow assigns labels to a pull request based on the Conventional Commits format.
# This is necessary for release-please to work properly.
name: "[Pull Request] Label Conventional Commits"

on:
pull_request:
branches: [main]
types:
[opened, reopened, labeled, unlabeled]

permissions:
pull-requests: write

jobs:
assign-labels:
runs-on: ubuntu-latest
name: Assign labels in pull request
if: github.event.pull_request.merged == false
steps:
- uses: actions/checkout@v3
- name: Assign labels from Conventional Commits
id: action-assign-labels
uses: mauroalderete/action-assign-labels@v1
with:
pull-request-number: ${{ github.event.pull_request.number }}
github-token: ${{ secrets.GITHUB_TOKEN }}
conventional-commits: |
conventional-commits:
- type: 'fix'
nouns: ['FIX', 'Fix', 'fix', 'FIXED', 'Fixed', 'fixed']
labels: ['bug']
- type: 'feature'
nouns: ['FEATURE', 'Feature', 'feature', 'FEAT', 'Feat', 'feat']
labels: ['enhancement']
- type: 'breaking_change'
nouns: ['BREAKING CHANGE', 'BREAKING', 'MAJOR']
labels: ['breaking change']
- type: 'documentation'
nouns: ['doc','docs','docu','document','documentation']
labels: ['documentation']
- type: 'build'
nouns: ['build','rebuild','ci']
labels: ['CI/CD']
- type: 'config'
nouns: ['config', 'conf', 'configuration']
labels: ['config']
maintain-labels-not-matched: false
apply-changes: true
17 changes: 17 additions & 0 deletions .github/workflows/pr-label-file-based.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This workflow assigns labels to a pull request based on the files changed in the PR.
# The labels are defined in the `.github/labels.yml` file.
name: "[Pull Request] Label File-based"
on:
pull_request_target:
types: [opened, synchronize]

permissions:
contents: read
pull-requests: write

jobs:
labeler:
runs-on: ubuntu-latest
steps:
- name: Assign labels from file changes
uses: actions/labeler@v5
10 changes: 10 additions & 0 deletions .github/workflows/pr-label-public.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Manage labels of pull requests that originate from forks
name: "[Pull Request] Label PRs from public forks"

on:
pull_request_target:
types: [opened, synchronize]

jobs:
label:
uses: ecmwf-actions/reusable-workflows/.github/workflows/label-pr.yml@v2
135 changes: 135 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
__pypackages__/

# Distribution / packaging
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# Testing and coverage
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Documentation
docs/_build/
/site
*.mo
*.pot

# Environments
.env
.envrc
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# IDEs
.idea/
.spyderproject
.spyproject
.ropeproject
.vscode/
*.code-workspace
*.sublime-project
*.sublime-workspace

# Jupyter Notebook
.ipynb_checkpoints

# Type checking
.mypy_cache/
.dmypy.json
dmypy.json
.pyre/
.pytype/

# Data files
*.grib
*.onnx
*.ckpt
*.npy
*.npz
*.zarr/
*.nc
*.h5
*.hdf5
*.pkl
*.parquet
*.csv
*.xlsx
*.xls

# ML artifacts
wandb/
mlruns/
lightning_logs/
*.ckpt
*.pt
*.pth
runs/
checkpoints/

# Temporary and system files
*.swp
*.download
*.out
*.sync
*.dot
*.tmp
*.log
*.log.*
.DS_Store
~*
tmp/
temp/
logs/
_dev/
outputs/
*tmp_data/

# Project specific
?
?.*
foo
bar
~$images.pptx
test.py
test.ipynb
cutout.png
_version.py
*.to_upload
tempCodeRunnerFile.python
Untitled-*.py
13 changes: 13 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## How to Contribute

Please see the [read the docs](https://anemoi.readthedocs.io/en/latest/dev/contributing.html).


## Contributors

Thank you to all the wonderful people who have contributed to Anemoi. Contributions can come in many forms, including code, documentation, bug reports, feature suggestions, design, and more. A list of code-based contributors can be found [here](https://github.com/ecmwf/anemoi-core/graphs/contributors).
JesperDramsch marked this conversation as resolved.
Show resolved Hide resolved


## Contributing Organisations

Significant contributions have been made by the following organisations: [DWD](https://www.dwd.de/), [FMI](https://www.ilmatieteenlaitos.fi/), [KNMI](https://www.knmi.nl), [MET Norway](https://www.met.no/), [MeteoSwiss](https://www.meteoswiss.admin.ch/), [RMI](https://www.meteo.be/) & [ECMWF](https://www.ecmwf.int/)
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]
Copyright 2024-2025 Anemoi Contributors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions graphs/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## How to Contribute

Please see the [read the docs](https://anemoi-training.readthedocs.io/en/latest/dev/contributing.html).
Please see the [read the docs](https://anemoi.readthedocs.io/en/latest/dev/contributing.html).


## Contributors
Expand All @@ -10,4 +10,4 @@ Thank you to all the wonderful people who have contributed to Anemoi. Contributi

## Contributing Organisations

Significant contributions have been made by the following organisations: [DWD](https://www.dwd.de/), [MET Norway](https://www.met.no/), [MeteoSwiss](https://www.meteoswiss.admin.ch/), [RMI](https://www.meteo.be/) & [ECMWF](https://www.ecmwf.int/)
Significant contributions have been made by the following organisations: [DWD](https://www.dwd.de/), [FMI](https://www.ilmatieteenlaitos.fi/), [KNMI](https://www.knmi.nl), [MET Norway](https://www.met.no/), [MeteoSwiss](https://www.meteoswiss.admin.ch/), [RMI](https://www.meteo.be/) & [ECMWF](https://www.ecmwf.int/)
2 changes: 1 addition & 1 deletion graphs/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]
Copyright 2024-2025 Anemoi Contributors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions models/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## How to Contribute

Please see the [read the docs](https://anemoi-training.readthedocs.io/en/latest/dev/contributing.html).
Please see the [read the docs](https://anemoi.readthedocs.io/en/latest/dev/contributing.html).


## Contributors
Expand All @@ -10,4 +10,4 @@ Thank you to all the wonderful people who have contributed to Anemoi. Contributi

## Contributing Organisations

Significant contributions have been made by the following organisations: [DWD](https://www.dwd.de/), [MET Norway](https://www.met.no/), [MeteoSwiss](https://www.meteoswiss.admin.ch/), [RMI](https://www.meteo.be/) & [ECMWF](https://www.ecmwf.int/)
Significant contributions have been made by the following organisations: [DWD](https://www.dwd.de/), [FMI](https://www.ilmatieteenlaitos.fi/), [KNMI](https://www.knmi.nl), [MET Norway](https://www.met.no/), [MeteoSwiss](https://www.meteoswiss.admin.ch/), [RMI](https://www.meteo.be/) & [ECMWF](https://www.ecmwf.int/)
2 changes: 1 addition & 1 deletion models/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]
Copyright 2024-2025 Anemoi Contributors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions training/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## How to Contribute

Please see the [read the docs](https://anemoi-training.readthedocs.io/en/latest/dev/contributing.html).
Please see the [read the docs](https://anemoi.readthedocs.io/en/latest/dev/contributing.html).


## Contributors
Expand All @@ -10,4 +10,4 @@ Thank you to all the wonderful people who have contributed to Anemoi. Contributi

## Contributing Organisations

Significant contributions have been made by the following organisations: [DWD](https://www.dwd.de/), [MET Norway](https://www.met.no/), [MeteoSwiss](https://www.meteoswiss.admin.ch/), [RMI](https://www.meteo.be/) & [ECMWF](https://www.ecmwf.int/)
Significant contributions have been made by the following organisations: [DWD](https://www.dwd.de/), [FMI](https://www.ilmatieteenlaitos.fi/), [KNMI](https://www.knmi.nl), [MET Norway](https://www.met.no/), [MeteoSwiss](https://www.meteoswiss.admin.ch/), [RMI](https://www.meteo.be/) & [ECMWF](https://www.ecmwf.int/)
2 changes: 1 addition & 1 deletion training/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]
Copyright 2024-2025 Anemoi Contributors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down