feat(tools): enable dependabot updates

This commit is contained in:
Mrugesh Mohapatra
2020-10-08 22:29:20 +05:30
committed by Oliver Eyton-Williams
parent 6599301186
commit 643cd81063
2 changed files with 54 additions and 0 deletions

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

@@ -0,0 +1,39 @@
version: 2
updates:
- package-ecosystem: npm
directory: '/'
schedule:
interval: daily
open-pull-requests-limit: 20
labels:
- 'bot: dependencies'
- 'platform: root'
- package-ecosystem: npm
directory: '/client'
schedule:
interval: daily
open-pull-requests-limit: 20
labels:
- 'bot: dependencies'
- 'platform: client'
- package-ecosystem: npm
directory: '/api-server'
schedule:
interval: 'weekly'
day: 'sunday'
open-pull-requests-limit: 20
labels:
- 'bot: dependencies'
- 'platform: api'
- package-ecosystem: npm
directory: '/curriculum'
schedule:
interval: 'weekly'
day: 'sunday'
open-pull-requests-limit: 20
labels:
- 'bot: dependencies'
- 'scope: learn'

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

@@ -0,0 +1,15 @@
name: Housekeeping
on:
pull_request
jobs:
automerge:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: 'Merge Minor SemVer Updates'
uses: ahmadnassri/action-dependabot-auto-merge@master
with:
target: minor
github-token: ${{ secrets.AUTO_MERGE_TOKEN }}