Rich Trott
535bb5fb6b
build: add tools/doc to tools.yml updates
...
PR-URL: https://github.com/nodejs/node/pull/41036
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Yash Ladha <yash@yashladha.in >
2022-01-31 23:01:02 -05:00
Antoine du Hamel
9e770d4cfd
tools: ignore unrelated workflow changes in slow Actions tests
...
Changes in the workflow files never affect the node binary, running
build tasks seems unnecessary.
Refs: https://github.com/nodejs/node/pull/40928
PR-URL: https://github.com/nodejs/node/pull/40990
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2022-01-31 23:00:39 -05:00
Mestery
20c4c6aa72
build: update Actions versions
...
PR-URL: https://github.com/nodejs/node/pull/40987
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2022-01-31 23:00:39 -05:00
Rich Trott
83f946855f
tools: update ESLint update script to consolidate dependencies
...
PR-URL: https://github.com/nodejs/node/pull/40995
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
2022-01-31 23:00:35 -05:00
Rich Trott
70fd4a15fc
build: set persist-credentials: false on workflows
...
Out of extra caution, instruct `actions/checkout` to not save GitHub
authentication credentials in the git config for use by future steps.
PR-URL: https://github.com/nodejs/node/pull/40972
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2022-01-31 23:00:29 -05:00
Rich Trott
f5233b004a
build: ignore unrelated workflow changes in slow Actions tests
...
test-asan and test-macos are very slow and tend to get backed up. While
I'm literally waiting hours right now for test-macos to finish so I can
land a PR, I'm opening this pull request to have it be skipped when
things other than its own workflow file are the only changes in the PR.
PR-URL: https://github.com/nodejs/node/pull/40928
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2022-01-31 23:00:26 -05:00
Mestery
23e925e1fb
meta: add feature request label for issue template
...
PR-URL: https://github.com/nodejs/node/pull/40970
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2022-01-31 23:00:23 -05:00
Antoine du Hamel
307dd76a90
tools: fix commit-lint GH Actions CI
...
PR-URL: https://github.com/nodejs/node/pull/40845
Reviewed-By: James M Snell <jasnell@gmail.com >
2022-01-31 23:00:21 -05:00
Rich Trott
da35d4fc4b
tools: ping TSC members identified as inactive
...
When detecting TSC members as inactive, @-mention them in the pull
request that moves them to emeritus. This notifies them in case the pull
request is in error.
PR-URL: https://github.com/nodejs/node/pull/40915
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Beth Griggs <bgriggs@redhat.com >
2022-01-31 23:00:03 -05:00
Rich Trott
6971e5720b
build: fix branch name for lint-md-dependencies update
...
Refs: https://github.com/nodejs/node/runs/4288412090?check_suite_focus=true
PR-URL: https://github.com/nodejs/node/pull/40924
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2022-01-31 22:59:28 -05:00
Rich Trott
a09bc8bf1d
build: fix make invocation in tools.yml
...
Be in the correct directory for `make lint-md-rollup`.
PR-URL: https://github.com/nodejs/node/pull/40890
Refs: https://github.com/nodejs/node/runs/4270533399?check_suite_focus=true
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2022-01-31 22:59:24 -05:00
Rich Trott
b54d53b9dd
tools: add find-inactive-tsc
...
Automate the implementation of rules in the TSC Charter around automatic
removal of members who do not participate in TSC votes and attend fewer
than 25% of the meetings in a 3-month period.
PR-URL: https://github.com/nodejs/node/pull/40884
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2022-01-31 22:59:22 -05:00
Rich Trott
323c058fed
build: fix tools.yml errors
...
PR-URL: https://github.com/nodejs/node/pull/40870
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2022-01-31 22:53:56 -05:00
Antoine du Hamel
c5d0b3cf84
tools: only validate first commit message of a PR
...
PR-URL: https://github.com/nodejs/node/pull/40740
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2022-01-31 22:53:29 -05:00
Rich Trott
e354464c3e
build: add GitHub Action to update tools modules
...
Update ESLint, Babel, remark, and so on. Run once a week.
PR-URL: https://github.com/nodejs/node/pull/40644
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2022-01-31 22:52:51 -05:00
Michaël Zasso
480f0e1d20
meta: use form schema for flaky test template
...
PR-URL: https://github.com/nodejs/node/pull/40737
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Richard Lau <rlau@redhat.com >
2021-11-25 23:17:59 +00:00
Michaël Zasso
64c6575f44
tools: simplify and fix commit queue
...
Use `gh` CLI for CI and commit queue jobs, and use the correct token
to merge PRs.
PR-URL: https://github.com/nodejs/node/pull/40742
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com >
2021-11-25 16:02:51 +00:00
Antoine du Hamel
dd08e532a2
tools: fix commit-lint workflow
...
PR-URL: https://github.com/nodejs/node/pull/40673
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2021-11-25 15:59:51 +00:00
Antoine du Hamel
b4a80dba79
tools: avoid fetch extra commits when validating commit messages
...
PR-URL: https://github.com/nodejs/node/pull/39128
Reviewed-By: Mary Marchini <oss@mmarchini.me >
2021-11-25 11:33:59 +00:00
Rich Trott
27009092c8
build: skip long-running Actions for README-only modifications
...
If the only file modified is README.md do not run test-linux or
build-windows tasks. This will help streamline onboarding sessions but
may help some other cases too.
PR-URL: https://github.com/nodejs/node/pull/40571
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-11-24 18:34:16 +00:00
Mestery
17433060d4
build: fix actions pull request's branch
...
PR-URL: https://github.com/nodejs/node/pull/40494
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Qingyu Deng <i@ayase-lab.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2021-11-04 11:24:02 +01:00
Jiawen Geng
bfdd32fa62
build: avoid run find inactive authors on forked repo
...
PR-URL: https://github.com/nodejs/node/pull/40465
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2021-11-04 11:22:56 +01:00
Mestery
06706e8dd2
meta: add typings to label-pr-config
...
PR-URL: https://github.com/nodejs/node/pull/40401
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com >
2021-11-04 11:22:40 +01:00
FrankQiu
134e8afc59
build: update codeowners-validator to 0.6
...
PR-URL: https://github.com/nodejs/node/pull/40307
Reviewed-By: Mary Marchini <oss@mmarchini.me >
2021-11-04 11:21:36 +01:00
Rich Trott
8bb3951e41
build: remove duplicate check for authors.yml
...
update-authors.js will print if there are duplicates in the new entries
so we can remove the (not working) duplication check in the authors.yml
file. It would still be nice to get the information about duplicates
into the body of the GitHub PR so no one has to manually check for
duplicates (by either examining the file or looking at the Actions
output), but that can be a future improvement.
PR-URL: https://github.com/nodejs/node/pull/40393
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com >
2021-10-13 10:24:43 +02:00
Mestery
7f50313fcc
meta: update label-pr-config
...
PR-URL: https://github.com/nodejs/node/pull/40199
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Khaidi Chu <i@2333.moe >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2021-10-13 10:20:51 +02:00
FrankQiu
f83b9bcb6f
build: support Python 3.10.0
...
PR-URL: https://github.com/nodejs/node/pull/40296
Fixes: https://github.com/nodejs/node/issues/40294
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Christian Clauss <cclauss@me.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2021-10-07 03:56:50 -04:00
Rich Trott
3148f9b64e
build: check for duplicates in new AUTHORS entries
...
When the GitHub Action adds new entries to the AUTHORS file, have it
also flag new entries that might be duplicates.
PR-URL: https://github.com/nodejs/node/pull/40264
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2021-10-04 20:33:16 +02:00
Jiawen Geng
7fbfb66d41
build: limit update authors CI scope
...
PR-URL: https://github.com/nodejs/node/pull/40219
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com >
Reviewed-By: Qingyu Deng <i@ayase-lab.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2021-10-04 20:31:28 +02:00
Rich Trott
67812e8c65
tools: re-implement lint-md without unified-args
...
`unified-args` ignores settings in the preset, expecting them to be in
remarkrc files or passed on the command line instead. Realizing that
we always send the same configuration options via the command-line
anyway, this removes `unified-args`. This means the preset settings are
now respected and it removes nearly 30000 lines of code in the resulting
rollup file.
I wasn't sure I was going to want to keep rollup so I started
re-implementing this without it, but ended up putting a minimal rollup
back as it still saves about 90000 lines of code vs. checking in
`node_modules`.
PR-URL: https://github.com/nodejs/node/pull/40180
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-10-04 20:30:53 +02:00
SURYAPRATAP SINGH SURYAVANSHI
e22ca06ac4
build: fix "test-internet.yml" workflows
...
PR-URL: https://github.com/nodejs/node/pull/40177
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2021-10-04 20:30:52 +02:00
Michaël Zasso
ebf17102d1
tools: extend default yamllint config
...
PR-URL: https://github.com/nodejs/node/pull/40150
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-10-04 20:30:49 +02:00
Rich Trott
b7dc651884
build: run modified internet tests on GitHub Actions
...
If internet tests are modified in a pull request, run the internet tests
in GitHub Actions.
PR-URL: https://github.com/nodejs/node/pull/40100
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2021-09-22 00:27:10 +01:00
Rich Trott
8d5787a043
build: add .mailmap/AUTHORS to paths-ignore for test-macos
...
PR-URL: https://github.com/nodejs/node/pull/40109
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-09-22 00:27:08 +01:00
Rich Trott
9793e7ff08
build: add .mailmap/AUTHORS to path-ignore for test-asan
...
PR-URL: https://github.com/nodejs/node/pull/40109
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-09-22 00:27:08 +01:00
Rich Trott
886921de38
build: add paths-ignore for build-tarball workflow
...
In GitHub Actions, don't run build-tarball if the only changed files are
docs.
PR-URL: https://github.com/nodejs/node/pull/40109
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-09-22 00:27:08 +01:00
Michaël Zasso
01b1946b38
build: only lint version numbers for pull requests
...
Fixes: https://github.com/nodejs/node/issues/39850
PR-URL: https://github.com/nodejs/node/pull/40027
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2021-09-22 00:27:00 +01:00
Rich Trott
c804d070a6
build: add daily/on-demand internet test workflow
...
PR-URL: https://github.com/nodejs/node/pull/40086
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2021-09-22 00:26:58 +01:00
Jiawen Geng
67759585a0
deps: patch for v8 on windows
...
PR-URL: https://github.com/nodejs/node/pull/40010
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-09-21 19:14:03 +01:00
Rich Trott
7bddaecbf4
build: add YAML linting to GitHub Actions
...
PR-URL: https://github.com/nodejs/node/pull/40007
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
2021-09-21 19:13:37 +01:00
Rich Trott
99af21292f
tools,build: update YAML files in preparation for linting
...
Fix indentation, traiiling spaces, and missing newline issues in
preparation for linting.
PR-URL: https://github.com/nodejs/node/pull/40007
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
2021-09-21 19:13:36 +01:00
Rich Trott
0b30867c08
build: run AUTHORS update weekly
...
PR-URL: https://github.com/nodejs/node/pull/40004
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2021-09-21 19:13:36 +01:00
Michaël Zasso
00951827cd
Revert "build: add windows-2022 to GitHub test matrix"
...
This reverts commit 13b569c679 .
V8 9.3 is not compatible.
Refs: https://github.com/nodejs/node/issues/39976
PR-URL: https://github.com/nodejs/node/pull/39982
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Richard Lau <rlau@redhat.com >
2021-09-06 09:19:25 +02:00
Michaël Zasso
e7834535b3
build: add windows-2022 to GitHub test matrix
...
PR-URL: https://github.com/nodejs/node/pull/39857
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
2021-09-06 09:19:24 +02:00
Rich Trott
afdb665e57
build: fix find-inactive-collaborators workflow token
...
Use a token that will result in GitHub CI running on the pull requests
that this workflow opens.
PR-URL: https://github.com/nodejs/node/pull/39909
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2021-09-06 09:19:22 +02:00
Rich Trott
0ff88f362f
build: update token used for pull requests
...
Refs: https://github.com/nodejs/node/pull/39874#issuecomment-905538468
PR-URL: https://github.com/nodejs/node/pull/39907
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2021-09-06 09:19:22 +02:00
Rich Trott
f98311a7c8
tools: update workflow to open a pull request
...
Now that find-inactive-collaborators.mjs automates the README.md changes
to move the inactive collaborators to the emeriti section, update the
GitHub Actions workflow to open a pull request.
PR-URL: https://github.com/nodejs/node/pull/39825
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-08-25 08:55:19 +02:00
Mestery
90bf247a55
build: fix update authors commit
...
Refs: https://github.com/nodejs/node/pull/39855#issuecomment-904387651
PR-URL: https://github.com/nodejs/node/pull/39858
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com >
2021-08-24 20:30:52 +02:00
Tierney Cyren
c968372e37
build: add authors.yml
...
PR-URL: https://github.com/nodejs/node/pull/35831
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2021-08-24 20:30:51 +02:00
mary marchini and Jiawen Geng
158d4464d2
meta: add gyp as owner of gyp files and tools/gyp
...
Co-authored-by: Jiawen Geng <technicalcute@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/34847
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2021-08-22 08:48:28 +02:00