Skip to content

ci(dependabot): add weekly branch as update target#2172

Merged
gounthar merged 2 commits intojenkins-docs:mainfrom
gounthar:ci/dependabot-weekly-target
Apr 21, 2026
Merged

ci(dependabot): add weekly branch as update target#2172
gounthar merged 2 commits intojenkins-docs:mainfrom
gounthar:ci/dependabot-weekly-target

Conversation

@gounthar
Copy link
Copy Markdown
Collaborator

Summary

Dependabot reads its configuration exclusively from the default branch. Without target-branch entries, all automated dependency PRs target main only — the weekly branch accumulates stale GitHub Actions and Docker image versions over time.

Changes

  • .github/dependabot.yml: Mirror every existing update block with an identical entry that adds target-branch: "weekly", covering GitHub Actions workflows and all Docker image directories.

Result

Dependabot will now open parallel PRs for both main and weekly whenever a new version is detected, keeping the two branches in sync on dependency freshness.

Dependabot reads its config only from the default branch. Without
target-branch entries, all PRs go to main and the weekly branch
diverges. Mirror each update block with target-branch: "weekly" so
GitHub Actions and Docker image bumps are also proposed against weekly.

Signed-off-by: Bruno Verachten <gounthar@gmail.com>
@github-actions github-actions Bot added the repo label Apr 21, 2026
@gounthar gounthar merged commit 43f6b02 into jenkins-docs:main Apr 21, 2026
4 of 6 checks passed
@gounthar gounthar deleted the ci/dependabot-weekly-target branch April 21, 2026 13:17
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.

1 participant