Skip to content

Commit 807a94b

Browse files
authored
feat(ci): add codeowners (#60)
1 parent 50bd300 commit 807a94b

2 files changed

Lines changed: 72 additions & 0 deletions

File tree

.github/CODEOWNERS

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
* @nodejs/nodejs-website
2+
/.* @nodejs/web-infra
3+
4+
/pages/asynchronous-work/ @nodejs/timers
5+
/pages/asynchronous-work/the-nodejs-event-emitter.md @nodejs/events
6+
7+
/pages/command-line/how-to-use-the-nodejs-repl.md @nodejs/repl
8+
9+
/pages/diagnostics/ @nodejs/diagnostics
10+
/pages/diagnostics/memory/ @nodejs/diagnostics @nodejs/v8
11+
/pages/diagnostics/live-debugging/ @nodejs/diagnostics
12+
/pages/diagnostics/live-debugging/using-inspector.md @nodejs/diagnostics @nodejs/inspector
13+
/pages/diagnostics/poor-performance/ @nodejs/diagnostics @nodejs/performance
14+
/pages/diagnostics/flame-graphs.md @nodejs/diagnostics @nodejs/performance
15+
16+
/pages/getting-started/an-introduction-to-the-npm-package-manager.md @nodejs/npm
17+
/pages/getting-started/debugging.md @nodejs/diagnostics
18+
/pages/getting-started/profiling.md @nodejs/diagnostics @nodejs/performance
19+
/pages/getting-started/the-v8-javascript-engine.md @nodejs/v8
20+
/pages/getting-started/security-best-practices.md @nodejs/security-wg
21+
/pages/getting-started/userland-migrations.md @nodejs/userland-migrations
22+
/pages/getting-started/nodejs-with-webassembly.md @nodejs/wasi
23+
/pages/getting-started/fetch.md @nodejs/undici @nodejs/web-standards
24+
/pages/getting-started/websocket.md @nodejs/web-standards
25+
26+
/pages/http/ @nodejs/http
27+
28+
/pages/manipulating-files/ @nodejs/fs
29+
30+
/pages/modules/ @nodejs/loaders
31+
/pages/modules/how-to-use-streams.md @nodejs/streams
32+
/pages/modules/backpressuring-in-streams.md @nodejs/streams
33+
/pages/modules/abi-stability.md @nodejs/node-api
34+
/pages/modules/publishing-node-api-modules.md @nodejs/node-api
35+
/pages/modules/publishing-a-package.md @nodejs/npm
36+
37+
/pages/test-runner/ @nodejs/test_runner
38+
39+
/pages/typescript/ @nodejs/typescript
40+
41+
/pages/node-api/ @nodejs/node-api
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Request Codeowner Reviews
2+
3+
on:
4+
pull_request_target:
5+
types: [opened]
6+
7+
permissions:
8+
contents: read
9+
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
12+
cancel-in-progress: true
13+
14+
jobs:
15+
request-reviews:
16+
name: Request Codeowner Reviews
17+
runs-on: ubuntu-latest
18+
permissions:
19+
# Required to request reviews and post comments
20+
pull-requests: write
21+
steps:
22+
- name: Checkout
23+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
24+
with:
25+
persist-credentials: false
26+
27+
- name: Request Codeowner Reviews
28+
uses: pkgjs/request-codeowner-review@d39b61c5e1399655dce6287b3b119af93dee235a # v1.1.0
29+
with:
30+
token: ${{ secrets.GITHUB_TOKEN }}
31+
output-mode: comment

0 commit comments

Comments
 (0)