Skip to content

Commit

Permalink
automerge (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei-Predoiu authored Aug 3, 2023
1 parent b9575d2 commit 6f7a808
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/bulldozer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 1

merge:
trigger:
labels: ["automerge"]
method: squash
options:
squash:
body: summarize_commits
delete_after_merge: true
allow_merge_with_no_checks: false
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ updates:
- dependencies
reviewers:
- BESTSELLER/engineering-services
labels:
- automerge
- package-ecosystem: "docker" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
Expand All @@ -23,6 +25,8 @@ updates:
- dependencies
reviewers:
- BESTSELLER/engineering-services
labels:
- automerge
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
Expand All @@ -32,3 +36,5 @@ updates:
- dependencies
reviewers:
- BESTSELLER/engineering-services
labels:
- automerge
36 changes: 36 additions & 0 deletions .github/policy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
policy:
approval:
- or:
- and:
- tests passed
- es has approved
- and:
- dependabot is making the PR
- or:
- tests passed
- es has approved
disapproval:
requires:
organizations:
- "bestseller"
approval_rules:
- name: tests passed
if:
has_successful_status:
- "test"
- "GitGuardian Security Checks"
requires:
count: 0
- name: es has approved
requires:
count: 1
teams:
- "BESTSELLER/engineering-services"
- name: dependabot is making the PR
if:
has_author_in:
users:
- "dependabot[bot]"
- "dependabot-circleci[bot]"
requires:
count: 0

0 comments on commit 6f7a808

Please sign in to comment.