Skip to content
Merged
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
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ updates:
- Aureliolo
ignore:
- dependency-name: chainguard/python
- dependency-name: python
versions: [">=3.15"]
Comment on lines +167 to +168
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.

medium

To robustly pin the Python base image to the 3.14.x series and avoid future major or minor updates (including the 3.15 alpha mentioned), it is recommended to use update-types instead of a specific version range. This approach prevents Dependabot from proposing any updates that change the major or minor version while still allowing security and patch updates for the 3.14 line. Note that ">=3.15" might not catch pre-releases like 3.15.0a8 due to semantic versioning rules where pre-releases are considered lower than the base version.

      - dependency-name: python
        update-types: ["version-update:semver-major", "version-update:semver-minor"]

labels:
- dependencies
- type:chore
Expand All @@ -183,6 +185,9 @@ updates:
open-pull-requests-limit: 3
reviewers:
- Aureliolo
ignore:
- dependency-name: python
versions: [">=3.15"]
Comment on lines +188 to +190
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.

medium

As noted in the previous section, using update-types is a more maintainable way to pin to a specific minor version series compared to hardcoding version ranges.

    ignore:
      - dependency-name: python
        update-types: ["version-update:semver-major", "version-update:semver-minor"]

labels:
- dependencies
- type:chore
Expand All @@ -202,6 +207,9 @@ updates:
open-pull-requests-limit: 3
reviewers:
- Aureliolo
ignore:
- dependency-name: python
versions: [">=3.15"]
Comment on lines +210 to +212
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.

medium

Using update-types ensures that Dependabot only proposes patch updates for the Python base image, adhering to the project's target of Python 3.14.x.

    ignore:
      - dependency-name: python
        update-types: ["version-update:semver-major", "version-update:semver-minor"]

labels:
- dependencies
- type:chore
Expand Down
Loading