-
Notifications
You must be signed in to change notification settings - Fork 705
29 lines (29 loc) · 1.14 KB
/
component_owners.yml
File metadata and controls
29 lines (29 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# The purpose of this workflow is to automaticallly assign reviewers for PRs
# which modify different parts of Yggdrasil.
#
# The file that controls the reviewers is at `.github/component_owners.yml`
#
# See https://github.com/dyladan/component-owners for more details of this
# action.
name: 'Component Owners'
on:
# pull_request_target is suggested for projects where pull requests will be
# made from forked repositories. If pull_request is used in these cases,
# the github token will not have sufficient permission to update the PR.
pull_request_target:
permissions:
contents: read # to read changed files
pull-requests: write # to read/write PR reviewers
jobs:
run_self:
runs-on: ubuntu-latest
name: Auto Assign Owners
steps:
- uses: dyladan/component-owners@7ff2b343629407c4dbe1c28ae66f55f723543d2b # v0.2.0
with:
config-file: .github/component_owners.yml
repo-token: ${{ github.token }}
assign-owners: "true"
# We only use this system to notify people about the proposed changes,
# not as a way of delegating a review.
request-owner-reviews: "false"