Skip to content

Instantly share code, notes, and snippets.

@riosengineer
Last active January 3, 2025 16:34
Show Gist options
  • Save riosengineer/98ec31b1806354b6268e3912bf97343e to your computer and use it in GitHub Desktop.
Save riosengineer/98ec31b1806354b6268e3912bf97343e to your computer and use it in GitHub Desktop.
Dependabot.yml for ADO
# 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