Skip to content

Commit 697745f

Browse files
authored
ci: configure dependabot (#117)
1 parent cbb86d0 commit 697745f

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

.github/dependabot.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
version: 2
2+
updates:
3+
4+
- package-ecosystem: "github-actions"
5+
directory: "/"
6+
schedule:
7+
interval: "daily"
8+
open-pull-requests-limit: 20
9+
labels:
10+
- "dependencies"
11+
12+
- package-ecosystem: composer
13+
directory: "/"
14+
schedule:
15+
interval: "daily"
16+
open-pull-requests-limit: 20
17+
allow:
18+
- dependency-type: "all"
19+
labels:
20+
- "dependencies"
+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# See https://github.com/ridedott/merge-me-action/
2+
# This workflow automates merges from patches sent by Dependabot, and
3+
# only by dependabot, once the other CI workflows pass
4+
name: automerge-dependabot
5+
6+
on:
7+
workflow_run:
8+
types:
9+
- completed
10+
workflows:
11+
- "Continuous Integration"
12+
13+
jobs:
14+
automerge:
15+
name: Auto-merge Dependabot PRs
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Auto merge
19+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
20+
uses: ridedott/merge-me-action@v2
21+
with:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
MERGE_METHOD: SQUASH
24+
PRESET: DEPENDABOT_MINOR

0 commit comments

Comments
 (0)