Skip to content

Commit d5ab765

Browse files
committed
Migrate to native dependabot
1 parent d12b1ee commit d5ab765

File tree

2 files changed

+53
-0
lines changed

2 files changed

+53
-0
lines changed

.github/dependabot.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: composer
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
time: "06:00"
8+
reviewers:
9+
- lcobucci
10+
versioning-strategy: increase
11+
open-pull-requests-limit: 20
12+
allow:
13+
- dependency-type: all
14+
labels: ["Dependencies"]

.github/workflows/merge-bot.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Merge me!
2+
3+
on:
4+
check_suite:
5+
types:
6+
- completed
7+
pull_request:
8+
types:
9+
- edited
10+
- labeled
11+
- opened
12+
- ready_for_review
13+
- reopened
14+
- synchronize
15+
- unlabeled
16+
- unlocked
17+
18+
jobs:
19+
merge-me:
20+
name: Merge me!
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: Merge me!
24+
uses: ridedott/merge-me-action@v1
25+
with:
26+
# Depending on branch protection rules, a manually populated
27+
# `GITHUB_TOKEN_WORKAROUND` environment variable with permissions to
28+
# push to a protected branch must be used. This variable can have an
29+
# arbitrary name, as an example, this repository uses
30+
# `GITHUB_TOKEN_DOTTBOTT`.
31+
#
32+
# When using a custom token, it is recommended to leave the following
33+
# comment for other developers to be aware of the reasoning behind it:
34+
#
35+
# This must be used as GitHub Actions token does not support
36+
# pushing to protected branches.
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38+
GITHUB_LOGIN: dependabot[bot]
39+
MERGE_METHOD: MERGE

0 commit comments

Comments
 (0)