Skip to content

Add Dependabot with a 7-day cooldown for the upstream image - #5

Open
Ayushi1296 wants to merge 1 commit into
mainfrom
security/dependabot-image-cooldown
Open

Ayushi1296 wants to merge 1 commit into
mainfrom
security/dependabot-image-cooldown

Conversation

@Ayushi1296

Copy link
Copy Markdown

Why

Once #3 pins codiumai/pr-agent:github_action by digest, nothing updates it automatically. Upgrades should still happen, but deliberately and only after a release has been public long enough for a poisoned version to be spotted. The malicious litellm 1.107.0 was quarantined within days.

What

Adds .github/dependabot.yml for the docker ecosystem. Dependabot already recognises Dockerfile.github_action_dockerhub. When the upstream tag moves, it opens a PR that updates the pinned digest, with:

  • cooldown.default-days: 7, so no update is proposed until it's at least a week old
  • a weekly schedule, at most 2 open PRs

Independent of #3. Before that merges there's no digest pin, so Dependabot will only bump the tag.

Notes

  • Dependabot is off for forks by default. After merging, enable version updates under Settings → Code security → Dependabot, or this file does nothing.
  • Callers need a manual bump. After merging a Dependabot digest bump, update the pinned sofatutor/pr-agent@<sha> in the seven caller repos. Dependabot can't follow a SHA that tracks a branch rather than a release tag.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

1 participant