Skip to content

Commit 0d028d5

Browse files
authored
Setup dependabot version update and automerging of dependabot prs (#27)
1 parent f0c9689 commit 0d028d5

File tree

5 files changed

+45
-1
lines changed

5 files changed

+45
-1
lines changed

.github/dependabot.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
version: 2
2+
3+
updates:
4+
- package-ecosystem: github-actions
5+
directory: '/'
6+
schedule:
7+
interval: daily
8+
9+
- package-ecosystem: gradle
10+
directory: '/'
11+
schedule:
12+
interval: daily
13+
time: '14:30'
14+
open-pull-requests-limit: 20

.github/workflows/build-and-deploy.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Build & Deploy
2-
on: push
2+
on:
3+
push:
4+
workflow_dispatch:
35

46
jobs:
57
boot-jar-app:
+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: label-dependabot-pr
2+
on:
3+
pull_request:
4+
types: [ opened, unlabeled ]
5+
6+
jobs:
7+
label-dependabot-pr:
8+
uses: navikt/teamesyfo-github-actions-workflows/.github/workflows/label-dependabot-pr.yaml@main
9+
permissions:
10+
pull-requests: write
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: merge-dependabot-pr
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
- cron: '0,15,30,45 7-14 * * 1,2,3,4,5'
6+
7+
jobs:
8+
merge-dependabot-pr:
9+
uses: navikt/teamesyfo-github-actions-workflows/.github/workflows/merge-dependabot-pr.yaml@main
10+
permissions:
11+
actions: write
12+
checks: read
13+
contents: write
14+
pull-requests: write
15+
statuses: read

CODEOWNERS

+3
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
* @navikt/team-esyfo
2+
3+
# Set empty owners on package.json and package-lock.json to avoid that github adds team-esyfo as reviewer on all automergeable prs from Dependabot
4+
build.gradle.kts

0 commit comments

Comments
 (0)