Skip to content

Commit

Permalink
Add component owners for adservice Java app (#519)
Browse files Browse the repository at this point in the history
  • Loading branch information
trask authored Oct 23, 2022
1 parent 541dae3 commit 8ab9828
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/component_owners.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# this file is used by .github/workflows/assign-reviewers.yml
components:
src/adservice:
- jack-berg
- mateuszrzeszutek
- trask
18 changes: 18 additions & 0 deletions .github/workflows/assign-reviewers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# assigns reviewers to pull requests in a similar way as CODEOWNERS, but doesn't require reviewers
# to have write access to the repository
# see .github/component_owners.yaml for the list of components and their owners
name: Assign reviewers

on:
# pull_request_target is needed instead of just pull_request
# because repository write permission is needed to assign reviewers
pull_request_target:

jobs:
assign-reviewers:
runs-on: ubuntu-latest
steps:
- uses: dyladan/component-owners@main
with:
# using this action to request review only (not assignment)
assign-owners: false

0 comments on commit 8ab9828

Please sign in to comment.