Skip to content

Commit 79b4c8e

Browse files
committed
Need to do this in two steps to make CI happy
1 parent e78ecf6 commit 79b4c8e

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# assigns reviewers to pull requests in a similar way as CODEOWNERS, but doesn't require reviewers
2+
# to have write access to the repository
3+
# see .github/component_owners.yaml for the list of components and their owners
4+
name: Assign reviewers
5+
6+
on:
7+
# pull_request_target is needed instead of just pull_request
8+
# because repository write permission is needed to assign reviewers
9+
pull_request_target:
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
assign-reviewers:
16+
permissions:
17+
contents: read
18+
pull-requests: write
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: trask/component-owners@02dfde3c03025c064cc6961975e28a42e81c394a # main
22+
with:
23+
# this repository is using this action to request doc review
24+
assign-owners: false

0 commit comments

Comments
 (0)