Skip to content

Commit

Permalink
ci: configure dependabot (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
geerteltink committed Apr 16, 2022
1 parent 3084d5c commit ce4513b
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: 2
updates:

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
open-pull-requests-limit: 20
labels:
- "dependencies"

- package-ecosystem: composer
directory: "/"
schedule:
interval: "daily"
open-pull-requests-limit: 20
allow:
- dependency-type: "all"
labels:
- "dependencies"
24 changes: 24 additions & 0 deletions .github/workflows/automerge-dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# See https://github.com/ridedott/merge-me-action/
# This workflow automates merges from patches sent by Dependabot, and
# only by dependabot, once the other CI workflows pass
name: automerge-dependabot

on:
workflow_run:
types:
- completed
workflows:
- "Continuous Integration"

jobs:
automerge:
name: Auto-merge Dependabot PRs
runs-on: ubuntu-latest
steps:
- name: Auto merge
if: ${{ github.event.workflow_run.conclusion == 'success' }}
uses: ridedott/merge-me-action@v2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MERGE_METHOD: SQUASH
PRESET: DEPENDABOT_MINOR

0 comments on commit ce4513b

Please sign in to comment.