Skip to content

Commit

Permalink
Infra: Update bots configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Haarolean authored Feb 12, 2024
1 parent 43030f1 commit 9a64dca
Show file tree
Hide file tree
Showing 2 changed files with 115 additions and 152 deletions.
92 changes: 16 additions & 76 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,102 +1,42 @@
version: 2
updates:

- package-ecosystem: maven
directory: "/"
schedule:
interval: daily
interval: weekly
time: "10:00"
timezone: Europe/Moscow
timezone: Europe/London
reviewers:
- "Haarolean"
- "kafbat/backend"
open-pull-requests-limit: 10
labels:
- "scope/backend"
- "type/dependencies"
- "scope/backend"

- package-ecosystem: npm
directory: "/frontend"
schedule:
interval: weekly
time: "10:00"
timezone: Europe/Moscow
timezone: Europe/London
reviewers:
- "kafbat/frontend"
open-pull-requests-limit: 10
versioning-strategy: increase-if-necessary
labels:
- "scope/frontend"
- "type/dependencies"
ignore:
- dependency-name: react-hook-form
versions:
- 6.15.5
- 7.0.0
- 7.0.6
- dependency-name: "@hookform/error-message"
versions:
- 1.1.0
- dependency-name: use-debounce
versions:
- 6.0.0
- 6.0.1
- dependency-name: "@rooks/use-outside-click-ref"
versions:
- 4.10.1
- dependency-name: react-multi-select-component
versions:
- 3.1.6
- 4.0.0
- dependency-name: husky
versions:
- 5.1.3
- 5.2.0
- 6.0.0
- dependency-name: "@types/node-fetch"
versions:
- 2.5.9
- dependency-name: "@testing-library/jest-dom"
versions:
- 5.11.10
- dependency-name: "@typescript-eslint/eslint-plugin"
versions:
- 4.20.0
- dependency-name: "@openapitools/openapi-generator-cli"
versions:
- 2.2.5
- dependency-name: "@typescript-eslint/parser"
versions:
- 4.20.0
- dependency-name: react-datepicker
versions:
- 3.7.0
- dependency-name: eslint
versions:
- 7.23.0
- dependency-name: "@testing-library/user-event"
versions:
- 13.0.6
- dependency-name: immer
versions:
- 9.0.1
- dependency-name: react-scripts
versions:
- 4.0.3
- dependency-name: eslint-config-prettier
versions:
- 8.1.0
- dependency-name: "@testing-library/react"
versions:
- 11.2.5
- dependency-name: lodash
versions:
- 4.17.21
- dependency-name: react-json-tree
versions:
- 0.15.0
- "scope/frontend"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: weekly
time: "10:00"
timezone: Europe/Moscow
timezone: Europe/London
reviewers:
- "Haarolean"
- "kafbat/devops"
open-pull-requests-limit: 10
labels:
- "scope/infrastructure"
- "type/dependencies"
- "scope/infrastructure"
175 changes: 99 additions & 76 deletions .github/kapybro/config.yml
Original file line number Diff line number Diff line change
@@ -1,95 +1,118 @@
version: "0.1"
version: "0.2"

settings:

maintainers:
teams: [ "maintainers" ]
users: []

triage:
enabled: true
maintainers: &maintainers
teams: [ "maintainers" ]
users: [ ]

label: "status/triage"
remove-assignees: false
anchors:

skip:
skip_main: &skip_off
enabled: false
do-manual-triage: false
labels:
add: [ "status/triage/skipped" ]
remove: [ ]

skip_maintainers: &skip_maintainers
enabled: true
conditions:
labels: [ "needs-attention", "needs-discussion" ]
authors:
teams: [ "maintainers" ]
comment:
enabled: false
message: "Automated triaging skipped."

manual:
authors: *maintainers

keyword-labeling: &keyword-labeling
enabled: true
case-sensitive: false
scan:
title: true
body: false
rules:
# <alias>: [ <labels> ]
acl: [ "area/acl" ]
audit: [ "area/audit" ]
auth: [ "area/auth" ]
consumers: [ "area/consumers" ]
messages: [ "area/messages" ]
rbac: [ "area/rbac" ]
serde: [ "area/serde" ]
SR: [ "area/sr" ]
topics: [ "area/topics" ]
ux: [ "area/ux" ]
wizard: [ "area/wizard" ]
###
backend: [ "scope/backend" ]
frontend: [ "scope/frontend" ]
infra: [ "scope/infra" ]
###
bug: [ "type/bug" ]
feature: [ "type/feature" ]
enh: [ "type/enhancement" ]

automatic: &automatic
enabled: true
skip: *skip_off
label: "status/triage"
remove-assignees: false
keyword-labeling: *keyword-labeling
completed:
labels:
add: [ "status/triage/completed" ]
remove: []

manual: &manual
enabled: true
skip: *skip_maintainers
label: "status/triage/manual"
labels:
add: []
remove: []
assign-maintainers: true
comment:
enabled: false
message: "Automated triaging completed. Pending human maintainer 🤖"

repeating:
enabled: true
add: [ ]
remove: [ ]
assign-maintainers: false

repeating: &repeating
enabled: false
skip: *skip_maintainers
triggers:
reopen: false
triage-labels: true
triage-labels: false
labels: [ "status/retriage" ]
only-manual: false

completed:
labels:
add: [ "status/triage/completed" ]
remove: []

keyword-labeling:
enabled: true
case-sensitive: false
match-title: true
match-body: true
rules:
# <keyword>: <label>
- backend: scope/backend
- be: scope/backend
- frontend: scope/frontend
- fe: scope/frontend
- infra: scope/infrastructure
- bug: type/bug
- feature: type/feature
- enh: type/enhancement
- rbac: area/rbac

feedback-management:
enabled: true
labels:
requested: "status/feedback-requested"
received: "status/feedback-received"
only-author-replies: false
assign-author: true
assign-maintainers: false
comments:
requested: "Further user feedback is requested. Please reply within 7 days or we might close the issue."
received: "Thanks for the additional feedback! We'll get back to your issue soon."
closed: "No feedback received within 7 days. Auto closing."
auto-close:
feedback-management: &feedback-management
enabled: true
close-days: 7
labels:
add: [ "status/stale" ]
remove: [ "status/feedback-requested" ]
requested: "status/feedback-requested"
received: "status/feedback-received"
only-author-replies: false
assign-author: true
assign-maintainers: false
auto-close:
enabled: true
close-days: 7
labels:
add: [ "status/stale" ]
remove: [ "status/feedback-requested" ]

locking: &locking
enabled: false

triage: &triage
enabled: true

locking:
enabled: false
automatic: *automatic
manual: *manual
repeating: *repeating

auto-rebase:
enabled: true
rebase-on-label: false
labels: [ "status/auto-merge" ]
issues:
triage: *triage
feedback-management: *feedback-management
locking: *locking

prs:
triage: *triage
feedback-management: *feedback-management
locking: *locking

auto-rebase:
enabled: false

comments:
feedback:
requested: "Further user feedback is requested. Please reply within 7 days or we might close the issue."
received: "Thanks for the additional feedback! We'll get back to your issue soon."
closed: "No feedback received within 7 days. Auto closing."

0 comments on commit 9a64dca

Please sign in to comment.