Skip to content

Commit

Permalink
chore: adjust auto-assign behavior (#450)
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelblum authored Nov 12, 2024
1 parent 6d115e5 commit 603c569
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 7 deletions.
23 changes: 16 additions & 7 deletions .github/auto_assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,22 @@ addAssignees: author

addReviewers: true

reviewers:
- dkarnutsch
- fraxachun
- johnnyomair
- nsams
- thomasdax98
- manuelblum
useReviewGroups: true

reviewGroups:
default:
- dkarnutsch
- fraxachun
- johnnyomair
- nsams
- thomasdax98
- manuelblum
dependencyUpdates:
- johnnyomair
- thomasdax98
- manuelblum

useAssigneeGroups: false

skipKeywords:
- Merge main into next
31 changes: 31 additions & 0 deletions .github/workflows/assign-reviewers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Assign Reviewers Based on Author

on:
pull_request:
types: [opened, synchronize]

jobs:
assign_reviewers:
runs-on: ubuntu-latest

steps:
- name: Check out repository
uses: actions/checkout@v2

- name: Assign reviewers for Renovate bot
if: github.actor == 'renovate[bot]'
uses: kentaro-m/auto-assign-action@v2.0.0
with:
config: ".github/auto_assign.yml"
reviewGroup: "dependencyUpdates"
addReviewers: true
addAssignees: false

- name: Assign default reviewers
if: github.actor != 'renovate[bot]'
uses: kentaro-m/auto-assign-action@v2.0.0
with:
config: ".github/auto_assign.yml"
reviewGroup: "default"
addReviewers: true
addAssignees: false

0 comments on commit 603c569

Please sign in to comment.