Skip to content

[CHORE](devops) Keep Dependabot uv updates in uv.lock - #613

Merged
Victor Schappert (vcschapp) merged 1 commit into
mainfrom
dependabot-uv-lockfile-only
Jul 30, 2026
Merged

[CHORE](devops) Keep Dependabot uv updates in uv.lock#613
Victor Schappert (vcschapp) merged 1 commit into
mainfrom
dependabot-uv-lockfile-only

Conversation

@sethfitz

@sethfitz Seth Fitzsimmons (sethfitz) commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

Closes #612.

Restrict Dependabot's uv ecosystem to uv.lock and never edit pyproject.toml, then cover the transitive deps Dependabot leaves behind with a scheduled refresh.

Changes

Notes

  • The refresh workflow's actions are pinned to full SHAs to match the repo convention, and its commit carries a Signed-off-by trailer for the DCO check (github-actions[bot] is not allowlisted the way dependabot[bot] is).
  • PRs opened by the default GITHUB_TOKEN do not trigger other workflows, so CI will not gate the refresh PR. An in-file NOTE flags this; wiring a PAT/App token via token: is the fix if CI gating is wanted.
  • lockfile-only opens no PR for a dependency capped in pyproject.toml whose only update exceeds the cap, since it refuses to widen the manifest. uv lock --upgrade respects the same caps. Both are inherent to the no-manifest-edits requirement.

@github-actions

github-actions Bot commented Jul 30, 2026

Copy link
Copy Markdown

🗺️ Schema reference docs preview is live!

🌍 Preview https://staging.overturemaps.org/schema/pr/613/schema/index.html
🕐 Updated Jul 30, 2026 18:46 UTC
📝 Commit f29a194
🔧 env SCHEMA_PREVIEW true

Note

♻️ This preview updates automatically with each push to this PR.

Comment thread .github/workflows/uv-lock-refresh.yml Outdated
Set versioning-strategy: lockfile-only on the uv ecosystem so Dependabot
updates uv.lock without editing any pyproject.toml. lockfile-only does
not refresh transitive-only entries (dependabot-core#14073), so add a
weekly uv-lock-refresh.yml workflow that runs `uv lock --upgrade` for
those and opens a PR touching only uv.lock.

Closes #612

Signed-off-by: Seth Fitzsimmons <seth@mojodna.net>
@vcschapp
Victor Schappert (vcschapp) merged commit 92f966f into main Jul 30, 2026
13 checks passed
@vcschapp
Victor Schappert (vcschapp) deleted the dependabot-uv-lockfile-only branch July 30, 2026 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CHORE](devops) Keep Dependabot uv updates in uv.lock; refresh transitive deps via workflow

3 participants