Add dependabot auto updates

This commit is contained in:
Sebastian Serth
2021-10-05 11:53:46 +02:00
parent 9d7e59df36
commit 3be00b18a1
3 changed files with 37 additions and 0 deletions

11
.github/auto-merge.yml vendored Normal file
View File

@ -0,0 +1,11 @@
- match:
dependency_type: all
update_type: security:minor # includes patch updates!
- match:
dependency_type: development
update_type: semver:minor # includes patch updates!
- match:
dependency_type: production
update_type: semver:patch

11
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: gomod
directory: "/"
schedule:
interval: daily
time: "03:00"
timezone: UTC
labels:
- dependencies

15
.github/workflows/dependabot.yml vendored Normal file
View File

@ -0,0 +1,15 @@
name: Dependabot Automerge Check
on:
- pull_request_target
jobs:
auto-merge:
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Automerge dependabot dependencies
uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
github-token: ${{ secrets.OPENHPI_BOT_TOKEN }}