forked from TauCetiStation/TauCetiClassic
-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (25 loc) · 921 Bytes
/
compowners.yml
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
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
issues: write # to read/write issue assignees
pull-requests: write # to read/write PR reviewers
jobs:
run_self:
runs-on: ubuntu-latest
name: Auto Assign Owners
steps:
- uses: volas/component-owners@main
with:
# default: .github/component_owners.yml
config-file: .github/COMPONENTOWNERS.yml
# default: ${{ github.token }}
repo-token: ${{ secrets.CODEOWNER_SECRET }}
# default: true
assign-owners: "false"
# default: true
request-owner-reviews: "true"