Conversation
maghuro
requested review from
ExtremeFiretop and
Martinski4GitHub
as code owners
September 23, 2026 22:48
maghuro
force-pushed
the
fix/dependabot-config
branch
from
September 23, 2026 22:49
00251ab to
156505b
Compare
Owner
|
This exposed something to me. But this is not the fix I want to implement. This fix as written would allow dependabot to check both main and dev branches and submit PRs against both, but that is not the intended design and workflow we follow, all PRs including ones from dependabot must come through the dev branch first. Additionally, having dependabot open PRs against main would conflict with our other workflow called: Check-PRsource.yml. For now, this will be closed. I will make my own fix to this YML that maintains the intended design, and credit you for the find. Thanks! |
Owner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fix the Dependabot configuration so both main and dev GitHub Actions update targets are contained in a single valid configuration document.
Problem
The current .github/dependabot.yml declares the top-level version and updates keys twice.
Conceptually it contains:
Duplicate mapping keys are invalid or ambiguous depending on the YAML parser.
A parser may reject the configuration or treat the later updates key as replacing the earlier one, potentially preventing Dependabot from handling one of the intended target branches.
Fix
Keep a single:
and place both GitHub Actions configurations in the same updates list.
The existing settings for each target branch remain unchanged.
Result
Dependabot has two explicit GitHub Actions update configurations:
Both retain the existing weekly schedule and grouped action updates.
Scope
This PR only removes the duplicated top-level YAML keys and combines the two existing update entries under one updates list.
No Dependabot schedule, grouping, ecosystem, directory, or target branch is otherwise changed.