Skip to content

Commit 5dfa64a

Browse files
committed
ci(component-owners): try using component-owners
Try using component-owners instead of CODEOWNERS since the latter requires all listed users have write permission to the repo. This only requires that they were a previous contributor. Signed-off-by: Randolph Sapp <[email protected]>
1 parent 21ed6e8 commit 5dfa64a

File tree

2 files changed

+119
-0
lines changed

2 files changed

+119
-0
lines changed

.github/component-owners.yml

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
---
2+
# Each component identified by its path prefix has a list of owners
3+
components:
4+
5+
# Ownership applies recursively to any file in a directory
6+
source/linux/Foundational_Components/PRU-ICSS*: &pru_list
7+
- Siddharth-Vadapalli-at-TI
8+
- chintan013
9+
- danish-ti
10+
source/linux/Foundational_Components_PRU_Subsystem.rst: *pru_list
11+
source/linux/Foundational_Components/Kernel/Kernel_Drivers/Network: *pru_list
12+
13+
source/android: &android_list
14+
- glaroque
15+
- makohoek
16+
- vishalmti
17+
source/devices/*/android: *android_list
18+
19+
source/system: &mpu_list
20+
- TexasInstruments/sitara-mpu-linux-sdk
21+
source/buildroot: *mpu_list
22+
source/linux/Foundational_Components/Hypervisor: *mpu_list
23+
source/linux/Foundational_Components/Tools: *mpu_list
24+
source/linux/Foundational_Components/Virtualization: *mpu_list
25+
source/debian: *mpu_list
26+
source/devices/*/debian: *mpu_list
27+
28+
source/devices/AM335x/linux: &sitara_legacy_list
29+
- jeevantelukula
30+
- jmenti
31+
source/devices/AM437x/linux: *sitara_legacy_list
32+
source/devices/AM65X/linux: *sitara_legacy_list
33+
34+
source/devices/AM64X/linux: *mpu_list
35+
source/devices/AM62X/linux:
36+
- DhruvaG2000
37+
- TexasInstruments/sitara-mpu-linux-sdk
38+
39+
source/devices/AM62AX/linux:
40+
- TexasInstruments/sitara-mpu-linux-sdk
41+
42+
source/devices/AM62PX/linux:
43+
- AashvijShenai
44+
- TexasInstruments/sitara-mpu-linux-sdk
45+
46+
source/devices/AM62LX/linux:
47+
- TexasInstruments/sitara-mpu-linux-sdk
48+
- bryanbrattlof
49+
- r-vignesh
50+
51+
source/linux/Overview:
52+
- TexasInstruments/sitara-mpu-linux-sdk
53+
- aniket-l
54+
55+
source/linux/Release_Specific:
56+
- TexasInstruments/sitara-mpu-linux-sdk
57+
- aniket-l
58+
- praneethbajjuri
59+
- uditkumarti
60+
61+
source/linux/Foundational_Components:
62+
- devarsht
63+
- praneethbajjuri
64+
- r-vignesh
65+
- uditkumarti
66+
67+
source/linux/Foundational_Components/IPC:
68+
- 3V3RYONE
69+
- h-nagalla
70+
- jmenti
71+
72+
source/linux/Foundational_Components/U-Boot:
73+
- bryanbrattlof
74+
- jmenti
75+
76+
source/linux/Foundational_Components/Kernel:
77+
- devarsht
78+
- praneethbajjuri
79+
- r-vignesh
80+
- uditkumarti
81+
82+
source/linux/Foundational_Components/Power_Management:
83+
- DhruvaG2000
84+
- vishalmti
85+
86+
source/linux/Foundational_Components/Graphics:
87+
- DarrenEtheridge
88+
- StaticRocket
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: "component-owners"
3+
4+
on:
5+
# It's insecure to use pull_request_target if you intend to check out code
6+
# from that PR. This just reads the config file in the pull request base, and
7+
# is not an issue currently. We will need to use this to comment on PRs coming
8+
# from forked repositories.
9+
pull_request_target:
10+
branches: [master]
11+
12+
permissions:
13+
# Clamp permissions since pull_request_target workflows granted full
14+
# read/write repository permission by default
15+
contents: read
16+
issues: write
17+
pull-requests: write
18+
19+
jobs:
20+
component-owners:
21+
name: Assign component owners
22+
runs-on: ubuntu-latest
23+
24+
steps:
25+
- name: Assign component owners
26+
uses: dyladan/component-owners@main
27+
with:
28+
config-file: .github/component-owners.yml
29+
repo-token: ${{ github.token }}
30+
assign-owners: true
31+
request-owner-reviews: true

0 commit comments

Comments
 (0)