Skip to content

Commit 08ec51b

Browse files
Update GitHub infrastructure (#1036)
* Increase fetch depth to avoid missing the commit The target commit might not be the latest of the target branch. * Add CODEOWNERS file * dependencies: pin shapley version down to 2.0 --------- Co-authored-by: emanuel-schmid <schmide@ethz.ch>
1 parent 304afb4 commit 08ec51b

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

.github/CODEOWNERS

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# This is a comment.
2+
# Each line is a file pattern followed by one or more owners.
3+
4+
# These owners will be the default owners for everything in
5+
# the repo. Unless a later match takes precedence, they will
6+
# be requested for review when someone opens a pull request.
7+
* @emanuel-schmid @chahank @peanutfun

.github/workflows/pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
ref: ${{ github.event.pull_request.head.sha }}
1717
-
1818
name: Checkout target commit
19-
run: git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin ${{ github.event.pull_request.base.ref }}
19+
run: git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=50 origin ${{ github.event.pull_request.base.ref }}
2020
-
2121
name: Set up Python 3.11
2222
uses: actions/setup-python@v5

requirements/env_climada.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ dependencies:
3535
- seaborn>=0.13
3636
- scikit-learn>=1.6
3737
- scipy>=1.14,<1.15 # 1.15 is not compatible with climada_petals, climada_petals.engine.test.test_supplychain fails with "'Series' has no attribute 'nonzero'"
38+
- shapely<2.1 # in 2.1 'shapely.ops' has no attribute 'cascaded_union' anymore, which is used in black_marble
3839
- sparse>=0.15
3940
- statsmodels>=0.14
4041
- tabulate>=0.9

0 commit comments

Comments
 (0)