Skip to content

Commit

Permalink
chore(dependabot): add support for dependabot native (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruderngespra authored Sep 1, 2021
1 parent 80eff03 commit 8829bbe
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/dependabot-approve-and-request-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "dependabot approve-and-request-merge"

on:
pull_request_target

jobs:
worker:
runs-on: ubuntu-latest

if: github.actor == 'dependabot[bot]'
steps:
- uses: contentful/dependabot-auto-merge@v1
with:
github_token: ${{ secrets.CF_ECOSYSTEM_BOT_GITHUB_TOKEN_AUTO_APPROVE }}
17 changes: 17 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: 2

updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
time: "00:00"
timezone: UTC
open-pull-requests-limit: 10
ignore:
- dependency-name: husky
versions:
- ">=5.0.0"
commit-message:
prefix: build
include: scope

0 comments on commit 8829bbe

Please sign in to comment.