It's easy to set up if you don't have dependencies that hosted at private NuGet. You only need to add file at .github/dependabot.yml
.
The file will looks like this.
version: 2
updates:
- package-ecosystem: nuget
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 25
Notes:
If you want to know more about Dependabot, you can visit the documentation here.
If you want to know how to setup the private registries for NuGet, you can check the documentation here.
Example Repo/File
If you want to check the file directly, you can visit here
bervProject / NETCoreAPIBoilerplate
Net Core Web API Boilerplate for My Project
NET Core API Boilerplate (BervProject.WebApi.Boilerplate)
Net Core Web API Boilerplate for My Project
.NET Version
8.0
Build Status
LICENSE
MIT
MIT License
Copyright (c) 2019 Bervianto Leo Pratama's Personal Projects
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND
…Finally
Yey, you're done. But, we won't stop here. The next part, I will discuss about the CI. Stay tune.
Top comments (0)