-
Notifications
You must be signed in to change notification settings - Fork 555
Onboard repository to Dependabot for automated testing and AI dependency updates #800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 6 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
947fab9
Initial plan
Copilot 7500406
Add Dependabot configuration for automated dependency updates
Copilot 62805a0
Add Dependabot documentation and complete onboarding
Copilot 66ba4f4
Refactor Dependabot config to only update testing dependencies and re…
Copilot a585d3c
Remove redundant allow list and use groups + ignore instead
Copilot bf436d4
Use wildcard patterns in ignore list for cleaner configuration
Copilot cb8e9e8
Add Microsoft.Extensions.AI group and remove from ignore list
Copilot 0db13e0
Update .github/dependabot.yml
eiriktsarpalis 97d82a6
Move microsoft-extensions-ai group to top of groups section
Copilot 231d13e
Update .github/dependabot.yml
eiriktsarpalis 26105b1
Update .github/dependabot.yml
eiriktsarpalis f105c41
Remove packages with fixed version strings from dependency groups
Copilot 1d52f2a
remove Microsoft.Extensions packages
eiriktsarpalis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,81 @@ | ||
| # Configuration for Dependabot automatic dependency updates | ||
| # See https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file | ||
|
|
||
| version: 2 | ||
| updates: | ||
| # Monitor testing dependencies only | ||
| - package-ecosystem: "nuget" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "weekly" | ||
| day: "monday" | ||
| time: "06:00" | ||
| # Only update testing dependencies, not product dependencies | ||
| # Dependencies are controlled via the groups below | ||
| # Group testing dependencies to reduce PR noise | ||
| groups: | ||
| testing-frameworks: | ||
| patterns: | ||
| - "xunit.*" | ||
| - "Microsoft.NET.Test.Sdk" | ||
| - "coverlet.*" | ||
| - "GitHubActionsTestLogger" | ||
| - "Moq" | ||
| microsoft-extensions-testing: | ||
| patterns: | ||
| - "Microsoft.Extensions.DependencyInjection" | ||
| - "Microsoft.Extensions.Hosting" | ||
| - "Microsoft.Extensions.Logging" | ||
| - "Microsoft.Extensions.Logging.Console" | ||
| - "Microsoft.Extensions.Options" | ||
eiriktsarpalis marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| - "Microsoft.Extensions.TimeProvider.Testing" | ||
| - "Microsoft.Extensions.AI.OpenAI" | ||
| opentelemetry-testing: | ||
| patterns: | ||
| - "OpenTelemetry*" | ||
| serilog-testing: | ||
| patterns: | ||
| - "Serilog*" | ||
| other-testing: | ||
| patterns: | ||
| - "Anthropic.SDK" | ||
| - "System.Linq.AsyncEnumerable" | ||
| - "System.Net.Http" | ||
| - "JsonSchema.Net" | ||
| # Ignore product dependencies - only allow testing dependencies in groups above | ||
| ignore: | ||
| # Ignore all Microsoft product dependencies except those explicitly in testing groups | ||
eiriktsarpalis marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| - dependency-name: "Microsoft.Extensions.Hosting.Abstractions" | ||
| - dependency-name: "Microsoft.Extensions.Logging.Abstractions" | ||
| - dependency-name: "Microsoft.Extensions.AI.Abstractions" | ||
| - dependency-name: "Microsoft.Extensions.AI" | ||
eiriktsarpalis marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| - dependency-name: "Microsoft.AspNetCore.*" | ||
| - dependency-name: "Microsoft.IdentityModel.*" | ||
| - dependency-name: "Microsoft.Bcl.*" | ||
| - dependency-name: "Microsoft.SourceLink.*" | ||
| # Ignore all System product dependencies except those explicitly in testing groups | ||
| - dependency-name: "System.Diagnostics.*" | ||
| - dependency-name: "System.IO.*" | ||
| - dependency-name: "System.Text.*" | ||
| - dependency-name: "System.Threading.*" | ||
| - dependency-name: "System.Net.ServerSentEvents" | ||
| # Limit the number of open pull requests for testing dependencies | ||
| open-pull-requests-limit: 5 | ||
| # Add labels to dependency update PRs | ||
| labels: | ||
| - "dependencies" | ||
| - "testing" | ||
|
|
||
| # Monitor GitHub Actions | ||
| - package-ecosystem: "github-actions" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "weekly" | ||
| day: "monday" | ||
| time: "06:00" | ||
| # Limit the number of open pull requests for GitHub Actions to 5 | ||
| open-pull-requests-limit: 5 | ||
| # Add labels to GitHub Actions update PRs | ||
| labels: | ||
| - "dependencies" | ||
| - "github-actions" | ||
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.
Uh oh!
There was an error while loading. Please reload this page.