Skip to content
Merged
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
74 changes: 24 additions & 50 deletions .github/dependabot.yml
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Pedro. Can we limit dependabot to the github actions and ignore environment.yml entirely? We inflexibly specify the major.minor versions and only update the environment every few years, so it doesn't seem necessary to check every 2 weeks.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good. I removed completely the python dependabot update. Now it is isolated to the CI.

Original file line number Diff line number Diff line change
@@ -1,60 +1,22 @@
version: 2

# Dependabot scans GitHub Actions workflow dependencies weekly
# on Monday at 06:00 UTC. A 14-day cooldown limits update PRs
# for the same dependency to roughly biweekly.
#
# Grouping rules bundle minor/patch updates together and keep
# major updates in separate PRs.
updates:
- package-ecosystem: "conda"
directory: /
schedule:
interval: "weekly"
cooldown:
default-days: 7
open-pull-requests-limit: 2
labels:
- "dependencies"
reviewers:
- "kennedy-mindermann"
commit-message:
prefix: "build"
include: "scope"
rebase-strategy: "auto"

- package-ecosystem: "pip"
directory: /
schedule:
interval: "weekly"
cooldown:
default-days: 7
open-pull-requests-limit: 2
labels:
- "dependencies"
reviewers:
- "kennedy-mindermann"
commit-message:
prefix: "build"
include: "scope"
rebase-strategy: "auto"

- package-ecosystem: "julia"
directory: /
schedule:
interval: "weekly"
cooldown:
default-days: 7
open-pull-requests-limit: 2
labels:
- "dependencies"
reviewers:
- "kennedy-mindermann"
commit-message:
prefix: "build"
include: "scope"
rebase-strategy: "auto"

- package-ecosystem: "github-actions"
directory: /
directory: "/"
schedule:
interval: "weekly"
day: "monday"
time: "06:00"
timezone: "UTC"
cooldown:
default-days: 7
default-days: 14
open-pull-requests-limit: 2
labels:
- "dependencies"
reviewers:
Expand All @@ -63,3 +25,15 @@ updates:
prefix: "build"
include: "scope"
rebase-strategy: "auto"
groups:
actions-non-breaking:
patterns:
- "*"
update-types:
- "minor"
- "patch"
actions-major:
patterns:
- "*"
update-types:
- "major"
2 changes: 2 additions & 0 deletions .github/workflows/python-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ jobs:
run: python .github/scripts/download_test_zenodo_files.py

run-ReEDS:
if: ${{ github.actor != 'dependabot[bot]' }}
name: run ReEDS model matrix
runs-on: ubuntu-latest
timeout-minutes: 60
Expand Down Expand Up @@ -242,6 +243,7 @@ jobs:
${{ env.RUN_FOLDER }}/outputs/**/*.h5

run-R2X:
if: ${{ github.actor != 'dependabot[bot]' }}
name: run R2X compatibility matrix
runs-on: ubuntu-latest
timeout-minutes: 30
Expand Down
Loading