Skip to content

chore(deps): remove Dependabot version updates (PTC-96) - #179

Merged
JesuFemi-O merged 3 commits into
mainfrom
chore/ptc-96-dependabot
Aug 2, 2026
Merged

chore(deps): remove Dependabot version updates (PTC-96)#179
JesuFemi-O merged 3 commits into
mainfrom
chore/ptc-96-dependabot

Conversation

@db-tycoon-stephen

@db-tycoon-stephen db-tycoon-stephen commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Deletes .github/dependabot.yml. The config can't serve both the release-branch workflow and security updates — target-branch is what stops bumps aiming at main, but the docs say not to set it if you want the config used for security updates, and it would need a manual edit every cycle regardless. Weekly ungrouped updates had queued 8 PRs (#161#168, now closed) at ~64 CI job runs on a base CONTRIBUTING.md excludes, with checks that weren't even reproducible — #168 failed ruff only because it ran three days later against an unpinned uvx ruff. #180 carries the four bumps worth taking against v0.1.11; CONTRIBUTING.md now documents a dependency review at each release-branch cut, and SECURITY.md no longer claims Dependabot updates the actions. Dependabot alerts stay enabled — they live in repo Settings, not this file.

Two notes: CI is red on ruff for reasons unrelated to this PR (main runs unpinned uvx ruff check; #174 fixes it but targets v0.1.11), and automated-security-fixes is currently off — worth enabling before this lands.

…C-96)

Ungrouped weekly updates opened 8 PRs against main in a single day. Each
one costs 8 ci.yml job runs (pytest x2, lint, secret-scan, build, docs,
template-smoke x2), so eight one-line version bumps queued 64 job runs.
They also targeted main, which CONTRIBUTING forbids -- nothing merges to
main except a finished release branch.

- target-branch: v0.1.11 so bumps land where work actually happens.
  Needs a one-line edit when the next release branch is cut.
- Group into ci-actions / python-dev / python-runtime: 8 PRs becomes 2-3.
- monthly instead of weekly, open-pull-requests-limit 2 per ecosystem.
- Majors excluded from groups so they arrive as reviewable single PRs.
- Ignore majors for dbt-core, dbt-duckdb, duckdb and dlt outright. These
  break in ways CI misses and users feel first; PTC-27 is the precedent,
  where an unreviewed Python bump took dbt out entirely.

template-smoke is deliberately still run for bot PRs. It is the only gate
that catches a runtime bump breaking project scaffolding.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

Reverts the config rewrite in favour of deleting it. Two reasons the
grouped-and-retargeted version does not work:

- target-branch needs a manual edit every release cycle. It hardcodes the
  active release branch, so it silently rots the moment a new one is cut
  and starts aiming bumps at a shipped branch.
- The docs are explicit that Dependabot will not use a config carrying
  target-branch for security updates: "you should not specify a
  target-branch". So the retargeting that fixes the workflow problem also
  breaks the one class of update actually worth having.

What is lost: routine version bumps for SHA-pinned actions and Python
deps. These were the entire problem -- weekly and ungrouped, they queued
8 PRs at 8 ci.yml job runs each.

What is kept: vulnerability alerts stay on (verified enabled via the API),
so CVEs still surface. They are configured in repo Settings, not here, and
are unaffected by this deletion. There are currently 0 open alerts, which
confirms all 8 open bot PRs were version noise, not security.

Worth considering separately: repo Settings -> Advanced Security ->
Dependabot security updates is currently disabled. Enabling it would give
auto-PRs for CVEs only -- less noise than before and better coverage.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
SECURITY.md claimed actions were 'updated via Dependabot', which stops
being true once .github/dependabot.yml is removed. Replaces that with the
release-time review, and states plainly that Dependabot *alerts* remain on
so the vulnerability-disclosure path is unambiguous.

Adds the review itself to CONTRIBUTING.md's release process, so removing
the automation leaves a documented process behind rather than a gap.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@JesuFemi-O

Copy link
Copy Markdown
Contributor

Approving and merging. The ruff CI failure here is not from this PR — the import-ordering violations are pre-existing on main and are fixed by the chore/ruff-pin work currently in v0.1.11. Once that release branch lands in main the CI will go green with no changes needed here.

@JesuFemi-O JesuFemi-O left a comment

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.

Config and docs only — no Python changes. Content is correct: Dependabot version-update PRs removed, security alerts preserved, CONTRIBUTING and SECURITY updated consistently. Ruff CI failure is pre-existing on main, not introduced here.

@JesuFemi-O
JesuFemi-O merged commit 93c020f into main Aug 2, 2026
8 of 9 checks passed
@db-tycoon-stephen
db-tycoon-stephen deleted the chore/ptc-96-dependabot branch August 2, 2026 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants