Skip to content

chore: switch dependency updates from renovate to dependabot - #7

Merged
oc-tmueller merged 4 commits into
mainfrom
worktree-renovate-to-dependabot
Sep 16, 2026
Merged

oc-tmueller merged 4 commits into
mainfrom
worktree-renovate-to-dependabot

Conversation

@LukasHirt

@LukasHirt LukasHirt commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Renovate has stopped working for this repo. This switches dependency updates entirely to Dependabot, which already handled GitHub Actions here.
  • Adds a docker package-ecosystem entry to .github/dependabot.yml (same schedule/shape as the existing github-actions entry) to cover the base images pinned in Dockerfile.multiarch (node:24-alpine, golang:1.26-alpine, alpine:3.24).
  • Removes .renovaterc.json.
  • Updates agents.md so it no longer tells future contributors "do not add a docker ecosystem to dependabot.yml" (the opposite of what this PR does), and documents the two capabilities lost vs. Renovate: no automerge for digest-only bumps, and no LTS-only gating for Node major bumps.

Dependabot's Docker file-matcher looks for any filename containing dockerfile (case-insensitive substring, confirmed by reading dependabot-core source), so Dockerfile.multiarch is picked up with no renaming needed.

Test plan

  • .github/dependabot.yml validated with ruby -ryaml -e "p YAML.load_file(...)" — parses to two updates entries, keys match GitHub's schema.
  • Repo-wide grep confirms no remaining Renovate references outside the intentional past-tense mentions in agents.md.
  • After merge, force a Dependabot "Check for updates" run for the new docker entry and confirm it finds node/golang/alpine in Dockerfile.multiarch.
  • Confirm a digest-only bump (no tag change) actually opens a PR — the minor-and-patch group filter has no semver level to match a digest-only update against, so this needs a live check; if it silently gets filtered out, drop update-types/groups from the docker entry.
  • Confirm CI passes on the first Dependabot PR — Dependabot PRs read secrets from the Dependabot secrets store, not Actions secrets, so DOCKERHUB_TOKEN/DOCKERHUB_USERNAME may need to be added there if the build job needs them on PRs.
  • Confirm the first Dependabot PR title auto-formats as chore(deps): bump ... (matches the pattern already seen on github-actions PRs elsewhere in the org) so it passes lint-pr-title.yml.

@LukasHirt

Copy link
Copy Markdown
Contributor Author

Opened a PR to bump the dependency reported by trivy - owncloud/ocis-workflows#50

Signed-off-by: Lukas Hirt <info@hirt.cz>
Signed-off-by: Lukas Hirt <info@hirt.cz>
…e.multiarch

Add documentation to the Dependency Management section explaining that base
images in Dockerfile.multiarch must stay pinned as tag@sha256:<digest> and
that Dependabot updates the digest in place. This clarifies a requirement
that was previously only mentioned in the deleted .renovaterc.json file.

Signed-off-by: Lukas Hirt <info@hirt.cz>
@LukasHirt
LukasHirt force-pushed the worktree-renovate-to-dependabot branch from 0b64182 to 11d2cd1 Compare September 16, 2026 09:25
@oc-tmueller
oc-tmueller merged commit 50eeb78 into main Sep 16, 2026
7 checks passed
@oc-tmueller
oc-tmueller deleted the worktree-renovate-to-dependabot branch September 16, 2026 10:09
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