|
1 | 1 | # GitHub Dependabot configuration |
2 | | -# Note: there is no interaction between this configuration and dependabot security updates. |
| 2 | +# Note: there is no interaction between this configuration and Dependabot security updates. |
3 | 3 | # See here for more information: |
4 | 4 | # https://docs.github.com/en/code-security/dependabot/dependabot-security-updates/about-dependabot-security-updates#about-dependabot-security-updates |
5 | 5 |
|
6 | 6 | version: 2 |
7 | 7 | updates: |
| 8 | + # Cooldown docs: |
| 9 | + # https://docs.github.com/en/code-security/dependabot/working-with-dependabot/dependabot-options-reference#cooldown |
8 | 10 | # GitHub Actions checks |
9 | 11 | # See here for more information: |
10 | 12 | # https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuring-dependabot-version-updates |
11 | 13 | - package-ecosystem: "github-actions" |
12 | 14 | # checks for updates by default under `/.github/workflows` |
13 | 15 | directory: "/" |
14 | 16 | schedule: |
15 | | - # Check for updates to GitHub Actions every week |
16 | | - interval: "weekly" |
| 17 | + # Check for updates to GitHub Actions every month |
| 18 | + interval: "monthly" |
| 19 | + cooldown: |
| 20 | + default-days: 7 |
| 21 | + groups: |
| 22 | + github-actions: |
| 23 | + patterns: |
| 24 | + - "*" |
| 25 | + |
17 | 26 | - package-ecosystem: "github-actions" |
18 | 27 | # checks for updates under custom action setup-env |
19 | 28 | directory: "/.github/actions/setup-env" |
20 | 29 | schedule: |
21 | | - # Check for updates to GitHub Actions every week |
22 | | - interval: "weekly" |
23 | | - # Perform checks and updates for the Python project dependencies. |
| 30 | + # Check for updates to GitHub Actions every month |
| 31 | + interval: "monthly" |
| 32 | + cooldown: |
| 33 | + default-days: 7 |
| 34 | + groups: |
| 35 | + setup-env-actions: |
| 36 | + patterns: |
| 37 | + - "*" |
| 38 | + |
| 39 | + # Perform checks and updates for the Python uv environment. |
24 | 40 | # See here for more information: |
25 | | - # https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#pip-and-pip-compile |
26 | | - - package-ecosystem: "pip" |
| 41 | + # https://docs.astral.sh/uv/guides/integration/dependabot/ |
| 42 | + - package-ecosystem: "uv" |
27 | 43 | directory: "/" |
28 | 44 | schedule: |
29 | | - # Check for updates to the project lockfile every month |
| 45 | + # Check for updates to uv environment files every month |
30 | 46 | interval: "monthly" |
| 47 | + cooldown: |
| 48 | + default-days: 7 |
| 49 | + semver-major-days: 14 |
| 50 | + semver-minor-days: 7 |
| 51 | + semver-patch-days: 3 |
31 | 52 | groups: |
32 | 53 | python-packages: |
33 | 54 | patterns: |
34 | 55 | - "*" |
35 | | - update-types: |
36 | | - - "minor" |
37 | | - - "patch" |
38 | | - exclude-patterns: |
39 | | - - "pandas" |
40 | | - - "scipy" |
41 | | - - "sqlalchemy" |
42 | 56 | ignore: |
43 | 57 | # ignore cytominer-database as it is deprecated |
44 | 58 | - dependency-name: "cytominer-database" |
| 59 | + |
| 60 | + # Perform checks and updates for pre-commit hook versions. |
| 61 | + - package-ecosystem: "pre-commit" |
| 62 | + directory: "/" |
| 63 | + schedule: |
| 64 | + # Check for updates to pre-commit hooks every month |
| 65 | + interval: "monthly" |
| 66 | + cooldown: |
| 67 | + default-days: 7 |
| 68 | + groups: |
| 69 | + pre-commit-hooks: |
| 70 | + patterns: |
| 71 | + - "*" |
0 commit comments