forked from TexasInstruments/processor-sdk-doc
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (27 loc) · 895 Bytes
/
component-owners.yml
File metadata and controls
31 lines (27 loc) · 895 Bytes
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
30
31
---
name: "component-owners"
on:
# It's insecure to use pull_request_target if you intend to check out code
# from that PR. This just reads the config file in the pull request base, and
# is not an issue currently. We will need to use this to comment on PRs coming
# from forked repositories.
pull_request_target:
branches: [master]
permissions:
# Clamp permissions since pull_request_target workflows granted full
# read/write repository permission by default
contents: read
issues: write
pull-requests: write
jobs:
component-owners:
name: Assign component owners
runs-on: ubuntu-latest
steps:
- name: Assign component owners
uses: dyladan/component-owners@main
with:
config-file: .github/component-owners.yml
repo-token: ${{ github.token }}
assign-owners: true
request-owner-reviews: true