Skip to content

ci: extend Dependabot coverage to release branches 1.0, 1.1, 1.2 - #297

Merged
xyos merged 1 commit into
mainfrom
ci/dependabot-release-branches
Aug 10, 2026
Merged

ci: extend Dependabot coverage to release branches 1.0, 1.1, 1.2#297
xyos merged 1 commit into
mainfrom
ci/dependabot-release-branches

Conversation

@xyos

@xyos xyos commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Issue

Description of Changes

Adds .github/dependabot.yml with target-branch entries so Dependabot version updates cover the active release branches 1.0, 1.1, and 1.2 in addition to main.

Dependabot only evaluates the dependabot.yml on the repository's default branch, so per-branch coverage must be declared there via target-branch entries; a config on the release branches themselves would be ignored. This gap showed up with the recent brace-expansion security fix: Dependabot PR #292 bumped build-tools/oss-attribution/oss-attribution-generator/package.json on main only, and the same vulnerable dependency had to be manually bumped on 1.0, 1.1, and 1.2.

The new entries mirror the existing npm update configuration (directory /build-tools/oss-attribution/oss-attribution-generator, weekly schedule), once per release branch. That directory (with package.json and package-lock.json) was verified to exist and be identical on origin/1.0, origin/1.1, and origin/1.2; it is the only npm manifest outside third-party-src on those branches, so no other ecosystems or directories were added.

Testing

  • Validated YAML syntax with python3 -c "import yaml; yaml.safe_load(open('.github/dependabot.yml'))".
  • Verified build-tools/oss-attribution/oss-attribution-generator/package.json exists on origin/1.0, origin/1.1, and origin/1.2 via git ls-tree.
  • Verified none of the release branches carry their own .github/dependabot.yml (not that it would matter; only the default-branch config is read).

Screenshots/Videos

N/A

Additional Notes

Dependabot security updates (as opposed to scheduled version updates) always target only the default branch; the target-branch entries ensure the release branches at least receive scheduled version-update PRs for this directory.

Backporting

Not required. Dependabot reads this configuration from the default branch only, so this change on main is sufficient to cover 1.0, 1.1, and 1.2.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@xyos
xyos requested a review from a team as a code owner August 8, 2026 18:46
Comment thread .github/dependabot.yml
@xyos
xyos added this pull request to the merge queue Aug 10, 2026
Merged via the queue into main with commit a6ef011 Aug 10, 2026
3 checks passed
@xyos
xyos deleted the ci/dependabot-release-branches branch August 10, 2026 08:45
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