Skip to content

ci: let Dependabot update Python packages and Actions - #91

Merged
knative-prow[bot] merged 1 commit into
knative-extensions:mainfrom
gauron99:pin-deps-dependabot
Nov 23, 2026
Merged

knative-prow[bot] merged 1 commit into
knative-extensions:mainfrom
gauron99:pin-deps-dependabot

Conversation

@gauron99

Copy link
Copy Markdown
Contributor

Adds .github/dependabot.yml.

  • pip (daily, for pyproject.toml and poetry.lock) and github-actions
    (weekly).
  • A version update waits until the release is 7 days old. Security
    updates skip the wait.
  • Packages that only other packages depend on are included
    (allow: dependency-type all), since Dependabot skips them by default
    and most of poetry.lock is such.
  • versioning-strategy increase-if-necessary: pyproject.toml keeps its
    ranges, as func-python is a library. A release inside a range only
    moves poetry.lock, one outside it raises the range.
  • knative/actions/* is ignored, since knobots syncs the knative-*.yaml
    workflows that use it.
  • Patch and minor updates come in one grouped PR, a major update in its
    own.
  • Every PR is assigned to gauron99 and merges with /lgtm and /approve.

The workflows refer to most actions by major tag (@v4, @v5), so the
first Actions run will likely open one PR per new major (checkout,
setup-python, upload-artifact, download-artifact). A follow-up PR pins
the actions to commit SHAs and makes the same bumps.

poetry.lock has open advisories today, among them critical ones in h11,
anyio and certifi. Dependabot security updates should fix them once
security updates are turned on in the repo settings.

🤖 Generated with Claude Code

Dependabot now updates poetry.lock and the actions the workflows use.
A version update waits until the release is 7 days old, so a bad or
compromised release has time to be pulled or flagged first. Security
updates come at once.

Each pull request is assigned to gauron99 and merges the usual way, with
/lgtm and /approve. Patch and minor updates come in one grouped pull
request, a major update in its own. Merging without review (the
skip-review label that Prow tide accepts from dependabot[bot]) can come
later.

Version updates cover packages that only others depend on (allow:
dependency-type all), as Dependabot skips them by default and most of
poetry.lock is such, among it the packages with open CVEs.

pyproject.toml keeps its ranges, as func-python is a library: a release
inside a range only moves poetry.lock, one outside it raises the range.

Dependabot leaves knative/actions alone, since knobots syncs the
knative-*.yaml workflows that use it.
@knative-prow

knative-prow Bot commented Nov 23, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gauron99

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow knative-prow Bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Nov 23, 2026
@maschmid

Copy link
Copy Markdown

/lgtm

@knative-prow knative-prow Bot added the lgtm Indicates that a PR is ready to be merged. label Nov 23, 2026
@knative-prow
knative-prow Bot merged commit e82a07c into knative-extensions:main Nov 23, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants