Skip to content

Commit e3e0428

Browse files
Add Dependabot configuration for Intility NuGet package
1 parent 57341a6 commit e3e0428

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

docs/docs/getting-started.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,33 @@ To get fetch the package in your GitHub Actions workflow, add the following to y
7373
7474
> [!IMPORTANT]
7575
> Your Github token must have the `read:packages` scope to access the package.
76+
77+
## Dependabot
78+
To enable Dependabot to fetch the package, add the registry to your `dependabot.yml` file. Example:
79+
80+
```yaml
81+
version: 2
82+
83+
registries:
84+
intility:
85+
type: "nuget-feed"
86+
url: "https://nuget.pkg.github.com/Intility/index.json"
87+
username: "x-access-token"
88+
password: ${{ secrets.INTILITY_NUGET_DEPENDABOT }}
89+
90+
updates:
91+
- package-ecosystem: "nuget"
92+
directory: "/"
93+
registries: "*"
94+
schedule:
95+
interval: "weekly"
96+
open-pull-requests-limit: 5
97+
commit-message:
98+
prefix: "🤖"
99+
labels:
100+
- "dependencies"
101+
```
102+
103+
> [!IMPORTANT]
104+
> You need to create a token with `read:packages` that you add to
105+
> your dependabot secrets.

0 commit comments

Comments
 (0)