Skip to content

Commit 3978ce2

Browse files
committed
Add dependabot automerge
1 parent 3eb7332 commit 3978ce2

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

.github/dependabot.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,35 @@
11
version: 2
2+
3+
registries:
4+
github:
5+
type: git
6+
url: https://github.com
7+
username: x-access-token
8+
password: ${{ secrets.STAFFBOT_GO_READ }}
9+
210
updates:
311
- package-ecosystem: "github-actions"
412
directory: "/"
513
schedule:
614
interval: "weekly"
15+
groups:
16+
ci-dependencies:
17+
patterns:
18+
- "*"
19+
update-types:
20+
- "minor"
21+
- "patch"
722

823
- package-ecosystem: "gomod"
924
directory: "/"
1025
schedule:
1126
interval: "weekly"
27+
registries:
28+
- github
29+
groups:
30+
go-dependencies:
31+
patterns:
32+
- "*"
33+
update-types:
34+
- "minor"
35+
- "patch"

.github/workflows/test.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,13 @@ jobs:
4242
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4343
SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
4444

45+
dependabot:
46+
name: Auto Merge (Dependabot)
47+
needs: test
48+
uses: Staffbase/gha-workflows/.github/workflows/[email protected]
49+
with:
50+
force: true
51+
secrets:
52+
app_id: ${{ vars.STAFFBASE_ACTIONS_APP_ID }}
53+
private_key: ${{ secrets.STAFFBASE_ACTIONS_PRIVATE_KEY }}
54+

0 commit comments

Comments
 (0)