feat(github-workflows): add support for Dependabot exclude paths#284
Merged
DecSmith42 merged 1 commit intomainfrom Feb 11, 2026
Merged
feat(github-workflows): add support for Dependabot exclude paths#284DecSmith42 merged 1 commit intomainfrom
DecSmith42 merged 1 commit intomainfrom
Conversation
Extended `DependabotOptions` with an `ExcludePaths` property, enabling exclusion of specific paths in Dependabot workflow generation. Updated `DependabotWorkflowWriter` to handle the new `exclude-paths` section when applicable.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds support for excluding specific paths in Dependabot configuration by introducing an ExcludePaths property to the DependabotUpdate record and implementing the corresponding YAML generation logic.
Changes:
- Extended
DependabotUpdatewith anExcludePathsproperty to allow specifying paths to exclude from Dependabot monitoring - Updated
DependabotWorkflowWriterto generate theexclude-pathssection in the Dependabot YAML configuration when paths are specified
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| DecSm.Atom.Module.GithubWorkflows/Generation/Options/DependabotOptions.cs | Added ExcludePaths property to DependabotUpdate record with empty collection initializer |
| DecSm.Atom.Module.GithubWorkflows/Generation/DependabotWorkflowWriter.cs | Added YAML generation logic for exclude-paths section with conditional rendering based on collection count |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
DecSm.Atom.Module.GithubWorkflows/Generation/DependabotWorkflowWriter.cs
Show resolved
Hide resolved
DecSm.Atom.Module.GithubWorkflows/Generation/DependabotWorkflowWriter.cs
Show resolved
Hide resolved
This was referenced Feb 12, 2026
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.
Extended
DependabotOptionswith anExcludePathsproperty, enabling exclusion of specific paths in Dependabot workflow generation. UpdatedDependabotWorkflowWriterto handle the newexclude-pathssection when applicable.