Skip to content

Commit e914ea7

Browse files
authored
Merge branch 'nodejs:main' into main
2 parents 861fb67 + f9b57d7 commit e914ea7

File tree

3 files changed

+30
-2
lines changed

3 files changed

+30
-2
lines changed

.github/CODEOWNERS

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ SECURITY.md @nodejs/security-wg
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

.github/workflows/bundle-compare.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
compare:
1616
name: Compare Bundle Stats
1717
runs-on: ubuntu-latest
18+
if: github.event.workflow_run.event == 'pull_request'
1819

1920
steps:
2021
- name: Harden Runner
@@ -30,7 +31,7 @@ jobs:
3031
with:
3132
name: webpack-stats
3233
path: head-stats
33-
run-id: ${{ github.event.workflow_run.workflow_id }}
34+
run-id: ${{ github.event.workflow_run.id }}
3435
github-token: ${{ secrets.GITHUB_TOKEN }}
3536

3637
- name: Get Run ID from BASE
@@ -66,3 +67,4 @@ jobs:
6667
with:
6768
comment-tag: 'compare_bundle_size'
6869
message: ${{ steps.compare-bundle-size.outputs.comment }}
70+
pr-number: ${{ github.event.workflow_run.pull_requests[0].number }}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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: pkgjs/request-codeowner-review@d39b61c5e1399655dce6287b3b119af93dee235a # v1.1.0
20+
with:
21+
token: ${{ secrets.GITHUB_TOKEN }}
22+
output-mode: comment

0 commit comments

Comments
 (0)