Skip to content

Commit 2aaa6e8

Browse files
committed
Replace static config with template
1 parent e413d56 commit 2aaa6e8

File tree

2 files changed

+54
-0
lines changed

2 files changed

+54
-0
lines changed

.github/dependabot.template.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
version: 2
3+
registries:
4+
ghcr:
5+
type: docker-registry
6+
url: ghcr.io
7+
username: PAT
8+
password: ${{ secrets.CONTAINER_BUILDER_TOKEN }}
9+
updates:
10+
- package-ecosystem: "bundler"
11+
directory: "/"
12+
schedule:
13+
interval: "daily"
14+
open-pull-requests-limit: 20
15+
vendor: true
16+
- package-ecosystem: "docker"
17+
directory: "/"
18+
registries:
19+
- ghcr
20+
schedule:
21+
interval: "daily"
22+
open-pull-requests-limit: 20
23+
- package-ecosystem: "github-actions"
24+
directory: "/"
25+
schedule:
26+
interval: "daily"
27+
open-pull-requests-limit: 20
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: Generate dependabot.yml
3+
4+
on:
5+
push:
6+
repository_dispatch:
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: write
11+
pull-requests: write
12+
13+
jobs:
14+
generate:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- name: Generate dependabot.yml
20+
uses: Makeshift/generate-dependabot-glob-action@5cd45385ce6519f68d574aab9699832b3a5e5031 # v1.3.4
21+
22+
- name: Create Pull Request
23+
uses: peter-evans/create-pull-request@b1ddad2c994a25fbc81a28b3ec0e368bb2021c50 # v6.0.0
24+
with:
25+
title: '[Automated] Update dependabot.yml'
26+
body: |
27+
This PR was automatically generated by the generate-dependabot.yml workflow.

0 commit comments

Comments
 (0)