Add dependency update automation (Dependabot or Renovate)

Open Beginner friendly
#35 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
docker, go
Domain
ci-cd, devops

Research direction

Start by checking the repository's Go module and Docker base-image locations, then choose between the proposed Dependabot or Renovate configuration. Add the relevant .github/dependabot.yml or renovate.json settings and verify that dependency update PRs are covered by CI. Done means automated PRs are opened for Go modules and Docker base images, with CI running before merge.

Written by the indexing model from the issue text.

Description

enhancement infrastructure

Problem

Dependency updates are currently manual. Outdated Go modules and Docker base images accumulate over time, increasing exposure to known CVEs.

Proposed solution

Enable automated dependency update PRs. Two options:

Option A — GitHub Dependabot (zero setup, native to GitHub)

  • Add .github/dependabot.yml
  • Configure for go.mod updates (weekly) and Docker base image updates (weekly)
  • PRs auto-created against main

Option B — Renovate Bot (more configurable, supports grouping)

  • Install Renovate GitHub App
  • Add renovate.json config
  • Group minor/patch Go updates into a single weekly PR

Config sketch (Dependabot)

# .github/dependabot.yml
version: 2
updates:
  - package-ecosystem: gomod
    directory: /
    schedule:
      interval: weekly

  - package-ecosystem: docker
    directory: /
    schedule:
      interval: weekly

Acceptance criteria

  • Automated PRs are opened for outdated Go modules
  • Automated PRs are opened for outdated Docker base image
  • CI runs on dependency update PRs before merge

Effort

Low — configuration only, no code changes.

Dominant language
Go
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from williamokano/SentinelSnap

All issues in williamokano/SentinelSnap

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.