Skip to content

Commit

Permalink
chore: enable mergify (#1009)
Browse files Browse the repository at this point in the history
* add config for mergify

* enable security dependecies for v2.0.x
  • Loading branch information
mpoke authored Jun 13, 2023
1 parent 2b18b5e commit 93e45a5
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,15 @@ updates:
interval: weekly
target-branch: "main"
open-pull-requests-limit: 10
labels:
- dependencies

- package-ecosystem: gomod
directory: "/"
schedule:
interval: daily
target-branch: "release/v2.0.x"
# Only allow automated security-related dependency updates on release branches.
open-pull-requests-limit: 0
labels:
- dependencies
20 changes: 20 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
defaults:
actions:
backport:
assignees:
- "{{ author }}"

queue_rules:
- name: default
conditions:
- "#approved-reviews-by>1"

pull_request_rules:
- name: Backport patches to the release/v2.0.x branch
conditions:
- base=main
- label=A:backport/v2.0.x
actions:
backport:
branches:
- release/v2.0.x

0 comments on commit 93e45a5

Please sign in to comment.