Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v20.3.0 release proposal #48332

Merged
merged 146 commits into from
Jun 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
146 commits
Select commit Hold shift + click to select a range
15c2de4
crypto: fix setEngine() when OPENSSL_NO_ENGINE set
tniessen May 15, 2023
9e381cf
doc: add heading for permission model limitations
tniessen May 15, 2023
ac8dd61
crypto: remove default encoding from cipher
tniessen May 16, 2023
3b94a73
doc: clarify CRYPTO_CUSTOM_ENGINE_NOT_SUPPORTED
tniessen May 16, 2023
2f5dbca
doc: mark Node.js 14 as End-of-Life
richardlau May 16, 2023
7660eb5
doc: fix typo in binding functions
deokjinkim May 16, 2023
d194241
deps: update undici to 5.22.1
nodejs-github-bot May 16, 2023
c6a7525
deps: add loongarch64 into openssl Makefile and gen openssl-loongarch64
shipujin May 4, 2023
f7c4daa
deps: update ada to 2.4.1
nodejs-github-bot May 17, 2023
9c5711f
meta: move one or more collaborators to emeritus
nodejs-github-bot May 17, 2023
6adaf4c
tools: update remark-preset-lint-node to 4.0.0
nodejs-github-bot May 17, 2023
35c9615
benchmark: use `cluster.isPrimary` instead of `cluster.isMaster`
deokjinkim May 17, 2023
a41cfd1
test: fix parsing test flags
daeyeon May 17, 2023
a80dd3a
test: fix suite signal
benjamingr May 17, 2023
85bbaa9
doc: update process.versions properties
Basa198 May 17, 2023
7a96d82
test: move `test-cluster-primary-error` flaky test
anonrig May 17, 2023
b1828b3
lib: implement AbortSignal.any()
atlowChemi May 18, 2023
79f7377
meta: remove dont-land-on-v14 auto labeling
shrujalshah28 May 18, 2023
a90010a
lib: support FORCE_COLOR for non TTY streams
MoLow May 18, 2023
d3e3a91
deps: update nghttp2 to 1.53.0
nodejs-github-bot May 18, 2023
f564b03
crypto: use openssl's own memory BIOs in crypto_context.cc
GauriSpears May 18, 2023
ebb6536
url: call `ada::can_parse` directly
anonrig May 18, 2023
eafe0c3
node-api: napi_ref on all types is experimental
vmoroz May 12, 2023
92b3334
url: clean vertical alignment of docs
binury May 18, 2023
0e4a3b7
doc: document node-api version process
legendecas May 19, 2023
03f67d6
deps: upgrade npm to 9.6.7
npm-cli-bot May 19, 2023
f380953
module: change default resolver to not throw on unknown scheme
giltayar May 19, 2023
5917ba1
doc: update broken spkac link
Trott May 19, 2023
1e3e7c9
doc: update broken EVP_BytesToKey link
Trott May 19, 2023
443477e
deps: update uvwasi to 0.0.17
nodejs-github-bot May 4, 2023
d95a5bb
deps: update uvwasi to 0.0.18
nodejs-github-bot May 19, 2023
13f163e
doc: use secure key length for HMAC generateKey
tniessen May 19, 2023
e834979
node-api: add status napi_cannot_run_js
gabrielschulhof May 13, 2023
02e919f
deps,test: update postject to 1.0.0-alpha.6
nodejs-github-bot May 21, 2023
12fef9b
doc: harmonize fenced code snippet flags
aduh95 May 19, 2023
f30ba5c
doc: fix Windows code snippet tags
aduh95 May 21, 2023
8d2a3b1
test: ignore helper files in WPTs
panva May 21, 2023
0ac4b33
doc: correct line break for Windows terminals
alexsch01 May 20, 2023
415bf7f
doc: clarify tty.isRaw
jrvidal May 21, 2023
0c8c383
tools: fix zconf.h path
lpinca May 21, 2023
10ccb2b
doc: update SEA source link
Trott May 21, 2023
2226088
tools: add debug logs
marco-ippolito May 22, 2023
6388766
test: skip test-http-pipeline-flood on IBM i
abmusse May 22, 2023
5b061c8
doc: fix typo in crypto legacy streams API section
tniessen May 22, 2023
07df5c4
deps: update corepack to 0.18.0
nodejs-github-bot May 23, 2023
df7540f
deps: update ada to 2.4.2
nodejs-github-bot May 23, 2023
3ed0afc
deps: update minimatch to 9.0.1
nodejs-github-bot May 23, 2023
5d94dbb
tools: update doc to remark-parse@10.0.2
nodejs-github-bot May 23, 2023
6539361
tools: update lint-md-dependencies
nodejs-github-bot May 23, 2023
f672575
tools: update eslint to 8.41.0
nodejs-github-bot May 23, 2023
23d310b
test_runner: display dot report as wide as the terminal width
rluvaton May 23, 2023
2b797a6
test_runner: delegate stderr and stdout formatting to reporter
HinataKah0 May 23, 2023
a298193
tools: update cpplint to 1.6.1
anonrig May 21, 2023
0ab840a
tools: refloat 7 Node.js patches to cpplint.py
Trott Oct 9, 2020
6c60d90
tools: fix race condition when npm installing
tniessen May 23, 2023
33aa373
src: use Blob{Des|S}erializer for SEA blobs
joyeecheung May 23, 2023
027c531
test_runner: fix test deserialize edge cases
MoLow May 23, 2023
f6ccdb2
deps: update simdutf to 3.2.12
nodejs-github-bot May 23, 2023
9e2b13d
stream: deprecate asIndexedPairs
atlowChemi May 24, 2023
4d4e506
test,doc,sea: run SEA tests on ppc64
RaisinTen May 24, 2023
5325be1
tools: port js2c.py to C++
joyeecheung Mar 4, 2023
5d92202
build: replace js2c.py with js2c.cc
joyeecheung Mar 7, 2023
8d93af3
tools: add security-wg as dep updaters owner
marco-ippolito May 24, 2023
c480559
bootstrap: put is_building_snapshot state in IsolateData
joyeecheung May 5, 2023
3e6e3ab
bootstrap: throw ERR_NOT_SUPPORTED_IN_SNAPSHOT in unsupported operation
joyeecheung May 5, 2023
d4922bc
deps: update c-ares to 1.19.1
nodejs-github-bot May 24, 2023
b25e704
src: avoid prototype access in binding templates
joyeecheung May 6, 2023
bd311b6
doc: clarify mkdir() recursive behavior
Stevepurpose May 24, 2023
45c3782
src: remove INT_MAX asserts in SecretKeyGenTraits
tniessen May 24, 2023
281dfaf
doc: improve HMAC key recommendations
tniessen May 24, 2023
5497c13
doc: update outdated section on TLSv1.3-PSK
tniessen May 24, 2023
4cf5a9e
tools: use latest upstream commit for zlib updates
fasenderos May 17, 2023
ad8a688
tools: alphabetize CODEOWNERS
Trott May 22, 2023
10cc60f
lib: use existing `isWindows` variable
sinkhaha May 25, 2023
99af671
deps: update histogram to 0.11.7
marco-ippolito Apr 27, 2023
0db79a0
deps: update histogram 0.11.8
marco-ippolito May 22, 2023
db62325
tools: open issue when update workflow fails
marco-ippolito May 25, 2023
3278542
test_runner: dont split lines on `test:stdout`
MoLow May 23, 2023
750d3e8
test_runner: pass FORCE_COLOR to child process
MoLow May 23, 2023
39d8140
doc: update socket.remote* properties documentation
Basa198 May 25, 2023
5094d1b
doc: add Ruy to list of TSC members
mhdawson May 25, 2023
0347a18
src: include missing header in node_sea.h
joyeecheung May 25, 2023
f117855
doc: add version info on the SEA docs
aduh95 May 25, 2023
6cf2adc
cluster: use ObjectPrototypeHasOwnProperty
daeyeon May 25, 2023
8c49d74
test: fix flaky test-runner-watch-mode
MoLow May 25, 2023
801573b
tools: log and verify sha256sum
fasenderos May 25, 2023
60ce2bc
http: send implicit headers on HEAD with no body
mcollina May 26, 2023
3047cae
deps: set `CARES_RANDOM_FILE` for c-ares
richardlau May 26, 2023
8b89f13
build: add action to close stale PRs
mhdawson May 17, 2023
ed45142
vm: properly handle defining symbol props
dubzzz May 26, 2023
b8f4070
src: check node_extra_ca_certs after openssl cfg
ckcr4lyf May 24, 2023
0ca90a1
doc: add `auto` intrinsic height to prevent jitter/flicker
dholbert May 27, 2023
3c82165
doc: remove broken link for keygen
Trott May 27, 2023
5f83ce5
doc: fix typo in readline completer function section
devule May 27, 2023
c1c4796
test: mark test_cannot_run_js as flaky
kvakil May 27, 2023
13e95e2
doc: add atlowChemi to triagers
atlowChemi May 28, 2023
568a705
tools: refactor v8_pch config
targos May 28, 2023
360df25
doc: fix broken link to new folder doc/contributing/maintaining
fasenderos May 27, 2023
802db92
doc,vm: clarify usage of cachedData in vm.compileFunction()
RaisinTen May 29, 2023
15336c3
test_runner: remove redundant check from coverage
cjihrig May 29, 2023
7478ed0
tools: order dependency jobs alphabetically
lutaok May 29, 2023
2b51ee5
doc: update codeowners with website team
ovflowd May 29, 2023
a60bc41
tools: deps update authenticate github api request
fasenderos May 29, 2023
b81e9d9
tools: harmonize `dep_updaters` scripts
aduh95 May 29, 2023
1416b75
tools: use shasum instead of sha256sum
lpinca May 29, 2023
1dabc73
Revert "test: unskip negative-settimeout.any.js WPT"
panva May 29, 2023
e12ee59
test: use lower security level in s_client
lpinca May 29, 2023
11918d7
doc: update Buffer.allocUnsafe description
sinkhaha May 29, 2023
13930f0
deps: update ada to 2.5.0
nodejs-github-bot May 30, 2023
8c53386
doc: improve the documentation of the stdio option
Karnav123 May 30, 2023
215b2bc
test: fix zlib version regex
lpinca May 30, 2023
07aa264
tools: automate histogram update
marco-ippolito May 30, 2023
750e53c
net: fix family autoselection timeout handling
ShogunPanda May 11, 2023
bfcb3d1
deps: upgrade to libuv 1.45.0
santigimeno May 17, 2023
3440d7c
test: unflake test-vm-timeout-escape-nexttick
santigimeno May 22, 2023
ded0e2d
tools: update LICENSE and license-builder.sh
santigimeno May 24, 2023
5f08bfe
tools: don't gitignore base64 config.h
bnoordhuis May 30, 2023
9aff8c7
doc: update documentation for FIPS support
richardlau May 30, 2023
9e2dd5b
deps: update zlib to 337322d
nodejs-github-bot May 31, 2023
96e54dd
doc: reserve 117 for Electron 26
clavin May 31, 2023
5ddca72
net: fix family autoselection SSL connection handling
ShogunPanda May 26, 2023
f3268d6
test_runner: fix global after hook
MoLow May 31, 2023
9a03474
src: add Realm document in the src README.md
legendecas Jun 1, 2023
3c7846d
esm: handle more error types thrown from the loader thread
aduh95 Jun 1, 2023
3b00f3a
esm: handle `globalPreload` hook returning a nullish value
aduh95 May 30, 2023
9875885
test: adapt tests for OpenSSL 3.1
OttoHollmann Jun 1, 2023
4562805
build: speed up compilation of mksnapshot output
kvakil Jun 1, 2023
50c0a15
build: set v8_enable_webassembly=false when lite mode is enabled
TerrorJack Jun 1, 2023
950185b
net: fix address iteration with autoSelectFamily
indutny Jun 1, 2023
d681e5f
doc: document watch option for node:test run()
MoLow Jun 1, 2023
c9f8e8c
test_runner: stop watch mode when abortSignal aborted
MoLow May 30, 2023
3f259b7
test_runner: emit `test:watch:drained` event
MoLow May 30, 2023
fd2620d
tls: reapply servername on happy eyeballs connect
indutny Jun 2, 2023
a94f87e
node-api: define version 9
legendecas Jun 2, 2023
72de4e7
lib: do not disable linter for entire files
aduh95 Jun 2, 2023
2c19f59
doc: clarify array args to Buffer.from()
bengl Jun 2, 2023
3e97826
Revert "tools: open issue when update workflow fails"
marco-ippolito Jun 3, 2023
6d6bf3e
module: reduce the number of URL initializations
anonrig May 31, 2023
10715ae
meta: bump codecov/codecov-action from 3.1.3 to 3.1.4
dependabot[bot] Jun 3, 2023
1b87ccd
meta: bump actions/setup-python from 4.6.0 to 4.6.1
dependabot[bot] Jun 3, 2023
8f1b869
meta: bump github/codeql-action from 2.3.3 to 2.3.6
dependabot[bot] Jun 3, 2023
62f847d
tools: update rollup lint-md-dependencies
nodejs-github-bot May 28, 2023
96c323d
test: mark test-child-process-pipe-dataflow as flaky
MoLow Jun 4, 2023
44411fc
test_runner: apply `runOnly` on suites
MoLow Jun 1, 2023
11a3434
esm: remove support for arrays in `import` internal method
aduh95 Jun 5, 2023
57679e1
2023-06-08, Version 20.3.0 (Current)
targos Jun 4, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
58 changes: 35 additions & 23 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -11,53 +11,58 @@
# tsc

/.github/CODEOWNERS @nodejs/tsc
/GOVERNANCE.md @nodejs/tsc
/onboarding.md @nodejs/tsc
/CODE_OF_CONDUCT.md @nodejs/tsc
/CONTRIBUTING.md @nodejs/tsc
/LICENSE @nodejs/tsc
/doc/contributing/*.md @nodejs/tsc
/GOVERNANCE.md @nodejs/tsc
/LICENSE @nodejs/tsc
/onboarding.md @nodejs/tsc

# website
/doc/api_assets @nodejs/website
/doc/template.html @nodejs/website
/tools/doc @nodejs/website

# streams

/lib/_stream* @nodejs/streams
/lib/internal/streams/* @nodejs/streams
/lib/stream.js @nodejs/streams
/lib/stream/* @nodejs/streams
/lib/internal/streams/* @nodejs/streams

# net

/deps/ada @nodejs/url
/deps/cares @nodejs/net
/doc/api/dns.md @nodejs/net
/doc/api/dgram.md @nodejs/net
/doc/api/dns.md @nodejs/net
/doc/api/net.md @nodejs/net
/lib/dgram.js @nodejs/net
/lib/dns.js @nodejs/net
/lib/net.js @nodejs/net
/lib/url.js @nodejs/url
/lib/internal/dgram.js @nodejs/net
/lib/internal/dns/* @nodejs/net
/lib/internal/js_stream_socket.js @nodejs/net
/lib/internal/net.js @nodejs/net
/lib/internal/socket_list.js @nodejs/net
/lib/internal/js_stream_socket.js @nodejs/net
/lib/internal/url.js @nodejs/url
/src/node_url.* @nodejs/url
/lib/net.js @nodejs/net
/lib/url.js @nodejs/url
/src/cares_wrap.cc @nodejs/net
/src/connect_wrap.* @nodejs/net
/src/connection_wrap.* @nodejs/net
/src/node_sockaddr* @nodejs/net
/src/node_url.* @nodejs/url
/src/tcp_wrap.* @nodejs/net
/src/udp_wrap.* @nodejs/net

# tls/crypto

/lib/crypto.js @nodejs/crypto
/lib/internal/crypto/* @nodejs/crypto
/lib/internal/tls/* @nodejs/crypto @nodejs/net
/lib/crypto.js @nodejs/crypto
/lib/tls.js @nodejs/crypto @nodejs/net
/src/node_crypto* @nodejs/crypto
/src/crypto/* @nodejs/crypto
/src/node_crypto* @nodejs/crypto

# http

Expand Down Expand Up @@ -93,10 +98,10 @@

# Node-API

/src/node_api* @nodejs/node-api
/src/js_native_api* @nodejs/node-api
/doc/contributing/adding-new-napi-api.md @nodejs/node-api
/doc/api/n-api.md @nodejs/node-api
/doc/contributing/adding-new-napi-api.md @nodejs/node-api
/src/js_native_api* @nodejs/node-api
/src/node_api* @nodejs/node-api

# gyp

Expand All @@ -110,19 +115,19 @@
/doc/api/wasi.md @nodejs/wasi
/lib/wasi.js @nodejs/wasi
/src/node_wasi* @nodejs/wasi
/test/wasi/ @nodejs/wasi
/test/fixtures/wasi/ @nodejs/wasi
/test/wasi/ @nodejs/wasi

# Startup

/test/parallel/test-snapshot-* @nodejs/startup
/test/parallel/test-bootstrap-* @nodejs/startup
/benchmark/misc/startup.js @nodejs/startup
/src/node.cc @nodejs/startup
/src/node_realm* @nodejs/startup @nodejs/realm
/lib/internal/bootstrap/* @nodejs/startup
/src/node_builtins* @nodejs/startup
/src/node_realm* @nodejs/startup @nodejs/realm
/src/node_snapshot* @nodejs/startup
/lib/internal/bootstrap/* @nodejs/startup
/src/node.cc @nodejs/startup
/test/parallel/test-bootstrap-* @nodejs/startup
/test/parallel/test-snapshot-* @nodejs/startup
/tools/snapshot/* @nodejs/startup

# V8
Expand All @@ -137,11 +142,11 @@

# Test runner

/test/parallel/test-runner-* @nodejs/test_runner
/doc/api/test.md @nodejs/test_runner
/lib/test.js @nodejs/test_runner
/lib/internal/main/test_runner.js @nodejs/test_runner
/lib/internal/test_runner/* @nodejs/test_runner
/lib/test.js @nodejs/test_runner
/test/parallel/test-runner-* @nodejs/test_runner

# Single Executable Applications
/deps/postject @nodejs/single-executable
Expand All @@ -154,6 +159,13 @@
/tools/dep_updaters/update-postject.sh @nodejs/single-executable

# Permission Model
/src/permission/* @nodejs/security-wg
/doc/api/permissions.md @nodejs/security-wg
/lib/internal/process/permission.js @nodejs/security-wg
/src/permission/* @nodejs/security-wg

# Dependency Update Tools

/.github/workflows/tools.yml @nodejs/security-wg
/.github/workflows/update-openssl.yml @nodejs/security-wg
/.github/workflows/update-v8.yml @nodejs/security-wg @nodejs/v8-update
/tools/dep_updaters/* @nodejs/security-wg
16 changes: 8 additions & 8 deletions .github/label-pr-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ subSystemLabels:
/^src\/node_report/: c++, report
/^src\/node_wasi/: c++, wasi
/^src\/node_worker/: c++, worker
/^src\/quic\/*/: c++, quic, dont-land-on-v14.x
/^src\/node_bob*/: c++, quic, dont-land-on-v14.x
/^src\/quic\/*/: c++, quic
/^src\/node_bob*/: c++, quic
/^src\/node_sea/: single-executable

# Properly label changes to V8 inspector integration-related files
Expand All @@ -51,7 +51,7 @@ subSystemLabels:
/^vcbuild\.bat$/: build, windows, needs-ci
/^(?:android-)?configure|node\.gyp|common\.gypi$/: build, needs-ci
# More specific tools
/^tools\/gyp/: tools, build, gyp, needs-ci, dont-land-on-v14.x
/^tools\/gyp/: tools, build, gyp, needs-ci
/^tools\/doc\//: tools, doc
/^tools\/icu\//: tools, i18n-api, icu, needs-ci
/^tools\/osx-/: tools, macos
Expand All @@ -76,10 +76,10 @@ subSystemLabels:
/^deps\/v8\/tools\/gen-postmortem-metadata\.py/: v8 engine, python, post-mortem
/^deps\/v8\//: v8 engine
/^deps\/uvwasi\//: wasi
/^deps\/npm\//: npm, fast-track, dont-land-on-v14.x
/^deps\/npm\//: npm, fast-track
/^deps\/nghttp2\/nghttp2\.gyp/: build, http2
/^deps\/nghttp2\//: http2
/^deps\/ngtcp2\//: quic, dont-land-on-v14.x
/^deps\/ngtcp2\//: quic
/^deps\/([^/]+)/: dependencies, $1

## JS subsystems
Expand All @@ -94,11 +94,11 @@ subSystemLabels:
/^lib\/\w+\/streams$/: stream
/^lib\/.*http2/: http2
/^lib\/worker_threads.js$/: worker
/^lib\/test.js$/: test_runner, dont-land-on-v14.x
/^lib\/test.js$/: test_runner
/^lib\/internal\/url\.js$/: whatwg-url
/^lib\/internal\/modules\/esm/: esm
/^lib\/internal\/webstreams/: web streams
/^lib\/internal\/test_runner/: test_runner, dont-land-on-v14.x
/^lib\/internal\/test_runner/: test_runner

# All other lib/ files map directly
/^lib\/_(\w+)_\w+\.js?$/: $1 # e.g. _(stream)_wrap
Expand Down Expand Up @@ -134,7 +134,7 @@ exlusiveLabels:
# Add worker label to PRs that affect doc/api/worker_threads.md
/^doc\/api\/worker_threads.md$/: doc, worker
# test_runner documentation
/^doc\/api\/test.md$/: doc, test_runner, dont-land-on-v14.x
/^doc\/api\/test.md$/: doc, test_runner
# Automatically tag JS subsystem-specific API doc changes
/^doc\/api\/(\w+)\.md$/: doc, $1
# Add deprecations label to PRs that affect doc/api/deprecations.md
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-tarball.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b # v4.6.0
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand All @@ -69,7 +69,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b # v4.6.0
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b # v4.6.0
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install deps
Expand Down
63 changes: 63 additions & 0 deletions .github/workflows/close-stale-pull-requests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: Close stale feature requests
on:
workflow_dispatch:
inputs:
endDate:
description: stop processing PRs after this date
required: false
type: string
schedule:
# Run every day at 1:00 AM UTC.
- cron: 0 1 * * *

# yamllint disable rule:empty-lines
env:
CLOSE_MESSAGE: >
This pull request was opened more than a year ago and there has
been no activity in the last 6 months. We value your contribution
but since it has not progressed in the last 6 months it is being
closed. If you feel closing this pull request is not the right thing
to do, please leave a comment.

WARN_MESSAGE: >
This pull request was opened more than a year ago and there has
been no activity in the last 5 months. We value your contribution
but since it has not progressed in the last 5 months it is being
marked stale and will be closed if there is no progress in the
next month. If you feel that is not the right thing to do please
comment on the pull request.
# yamllint enable

permissions:
contents: read

jobs:
stale:
permissions:
pull-requests: write # for actions/stale to close stale PRs
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
steps:
- name: Set default end date which is 1 year ago
run: echo "END_DATE=$(date --date='525600 minutes ago' --rfc-2822)" >> "$GITHUB_ENV"
- name: if date set in event override the default end date
env:
END_DATE_INPUT_VALUE: ${{ github.event.inputs.endDate }}
if: ${{ github.event.inputs.endDate != '' }}
run: echo "END_DATE=$END_DATE_INPUT_VALUE" >> "$GITHUB_ENV"
- uses: mhdawson/stale@453d6581568dc43dbe345757f24408d7b451c651 # PR to add support for endDate
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
end-date: ${{ env.END_DATE }}
days-before-issue-stale: -1
days-before-issue-close: -1
only-labels: test-stale-pr
days-before-stale: 150
days-before-close: 30
stale-issue-label: stale
close-issue-message: ${{ env.CLOSE_MESSAGE }}
stale-issue-message: ${{ env.WARN_MESSAGE }}
exempt-pr-labels: never-stale
# max requests it will send per run to the GitHub API before it deliberately exits to avoid hitting API rate limits
operations-per-run: 500
remove-stale-when-updated: true
4 changes: 2 additions & 2 deletions .github/workflows/coverage-linux-without-intl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b # v4.6.0
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand All @@ -64,6 +64,6 @@ jobs:
- name: Clean tmp
run: rm -rf coverage/tmp && rm -rf out
- name: Upload
uses: codecov/codecov-action@894ff025c7b54547a9a2a1e9f228beae737ad3c2 # v3.1.3
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
with:
directory: ./coverage
4 changes: 2 additions & 2 deletions .github/workflows/coverage-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b # v4.6.0
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand All @@ -64,6 +64,6 @@ jobs:
- name: Clean tmp
run: rm -rf coverage/tmp && rm -rf out
- name: Upload
uses: codecov/codecov-action@894ff025c7b54547a9a2a1e9f228beae737ad3c2 # v3.1.3
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
with:
directory: ./coverage
4 changes: 2 additions & 2 deletions .github/workflows/coverage-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b # v4.6.0
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install deps
Expand All @@ -65,6 +65,6 @@ jobs:
- name: Clean tmp
run: npx rimraf ./coverage/tmp
- name: Upload
uses: codecov/codecov-action@894ff025c7b54547a9a2a1e9f228beae737ad3c2 # v3.1.3
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
with:
directory: ./coverage
2 changes: 1 addition & 1 deletion .github/workflows/daily-wpt-fyi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b # v4.6.0
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b # v4.6.0
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand All @@ -64,7 +64,7 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b # v4.6.0
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b # v4.6.0
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand All @@ -139,7 +139,7 @@ jobs:
with:
persist-credentials: false
- name: Use Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b # v4.6.0
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@ jobs:

# Upload the results to GitHub's code scanning dashboard.
- name: Upload to code-scanning
uses: github/codeql-action/upload-sarif@29b1f65c5e92e24fe6b6647da1eaabe529cec70f # v2.3.3
uses: github/codeql-action/upload-sarif@83f0fe6c4988d98a455712a27f0255212bba9bd4 # v2.3.6
with:
sarif_file: results.sarif
2 changes: 1 addition & 1 deletion .github/workflows/test-asan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b # v4.6.0
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand Down
Loading