Skip to content

Commit 6a6717b

Browse files
committed
chore: add dependabot and mergify config
1 parent f324041 commit 6a6717b

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: gomod
4+
directory: "/"
5+
schedule:
6+
interval: weekly
7+
time: "13:00"
8+
open-pull-requests-limit: 10

.mergify

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
pull_request_rules:
2+
- name: Merge on CI success and review approval
3+
conditions:
4+
- base~=(mainline|rename-commands)
5+
- "#approved-reviews-by>=1"
6+
- approved-reviews-by=@aws/aws-ecs-devx
7+
- -approved-reviews-by~=author
8+
- -label~=(WIP|do-not-merge)
9+
- -title~=(WIP|wip)
10+
- -merged
11+
- -closed
12+
- author!=dependabot[bot]
13+
actions:
14+
merge:
15+
method: squash
16+
strict: smart
17+
strict_method: merge
18+
commit_message: title+body
19+
- name: Automatically approve and merge Dependabot PRs
20+
conditions:
21+
- base=mainline
22+
- author=dependabot[bot]
23+
- -title~=(WIP|wip)
24+
- -label~=(WIP|do-not-merge)
25+
- -merged
26+
- -closed
27+
actions:
28+
review:
29+
type: APPROVE
30+
merge:
31+
method: squash
32+
strict: smart+fasttrack
33+
strict_method: merge
34+

0 commit comments

Comments
 (0)