Last active
January 3, 2025 16:34
-
-
Save riosengineer/98ec31b1806354b6268e3912bf97343e to your computer and use it in GitHub Desktop.
Dependabot.yml for ADO
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
# see https://docs.github.com/en/enterprise-cloud@latest/code-security/dependabot/working-with-dependabot/dependabot-options-reference | |
version: 2 | |
registries: | |
azure-artifacts: | |
type: nuget-feed | |
key: "dotnet" | |
url: "https://pkgs.dev.azure.com/riosengineer/Dependabot/_packaging/dotnet/nuget/v3/index.json" # change to your ado artifact feed source | |
token: PAT:${{ MY_DEPENDABOT_ADO_PAT }} # change to your library var name | |
updates: | |
- package-ecosystem: "nuget" | |
target-branch: main | |
registries: | |
- azure-artifacts | |
commit-message: | |
prefix: "deps" | |
open-pull-requests-limit: 5 | |
directories: [ '/' ] # amend dir scope as necessary |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment