Skip to content

Commit 6725b85

Browse files
committed
feat(ci): request reviews from API experts
1 parent 746c040 commit 6725b85

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

.github/CODEOWNERS

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ docs @nodejs/nodejs-website @nodejs/web-infra
4141
apps/site/pages/en/blog/release @nodejs/releasers
4242
apps/site/pages/en/blog/announcements @nodejs/releasers
4343

44-
# Specific content
44+
# The following users DO NOT have write access, and their review is requested
45+
# via a GitHub action.
46+
apps/site/pages/en/learn/diagnostics @nodejs/diagnostics
4547
apps/site/pages/en/learn/getting-started/security-best-practices.md @nodejs/security-wg
48+
apps/site/pages/en/learn/manipulating-files @nodejs/fs
49+
apps/site/pages/en/learn/test-runner @nodejs/test_runner
4650
apps/site/pages/en/learn/typescript @nodejs/typescript
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Request Codeowner Reviews
2+
3+
on:
4+
pull_request_target:
5+
types: [opened]
6+
7+
permissions:
8+
contents: read
9+
pull-requests: write
10+
11+
jobs:
12+
request-reviews:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
17+
18+
- name: Request Codeowner Reviews
19+
uses: avivkeller/request-codeowner-review@9e110a888cece63c8abfe914a734ec160f5785dc # v1
20+
with:
21+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)