Skip to content

[v19.x backport] esm: move hooks handling into separate class #46511

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

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
131 commits
Select commit Hold shift + click to select a range
9a09e37
src,process: add permission model
RafaelGSS Feb 23, 2023
f1a237c
tools: update lint-md-dependencies to [email protected]
nodejs-github-bot Feb 25, 2023
812c84b
lib: fix DOMException property descriptors after being lazy loaded
panva Feb 25, 2023
fa8e38f
deps: update simdutf to 3.2.1
nodejs-github-bot Feb 25, 2023
9344e93
test: remove useless WPT init scripts
panva Feb 25, 2023
a3cabdb
test: update encoding WPTs
panva Feb 25, 2023
457cb35
tools: upload daily WPT Report to both staging and production
panva Feb 25, 2023
977fcc4
test: fix WPT title when no META title is present
panva Feb 25, 2023
4a810dc
test: simplify test-tls-alert
tniessen Feb 25, 2023
10486a0
test: fix test-net-connect-reset-until-connected
batrla Feb 25, 2023
563b243
tools: update lint-md-dependencies to [email protected]
nodejs-github-bot Feb 26, 2023
171b2a8
benchmark: add benchmark for EventTarget add and remove
debadree25 Feb 26, 2023
33b5c3e
doc: add steps about signing the binary in single-executable docs
RaisinTen Feb 22, 2023
8fb19f7
lib: add trailing commas to more internal files
aduh95 Feb 26, 2023
822b008
test: fix os-release check for Ubuntu in SEA test
addaleax Feb 26, 2023
5921af7
deps: update corepack to 0.17.0
nodejs-github-bot Feb 26, 2023
b7bb4e3
stream: always delay construct callback by a nextTick
mcollina Feb 26, 2023
ffcd301
tools: fix linter message when using global `DOMException`
aduh95 Feb 26, 2023
8a0620f
benchmark: split `Buffer.byteLength` benchmark
joyeecheung Feb 11, 2023
34f8cf4
buffer: use v8 fast API calls for `Buffer.byteLength` implementation
joyeecheung Feb 11, 2023
eaca288
assert: fix exception message for assert(0) on try catch block
hidecology Feb 26, 2023
7eb8cef
buffer: add Buffer.copyBytesFrom(...)
jasnell Feb 4, 2023
aae6719
lib: rename internal module declaration as internal bindings
okmttdhr Feb 27, 2023
8c627f7
stream: enable usage of webstreams on compose()
debadree25 Feb 27, 2023
a1e59b8
tools: create llhttp update action
marco-ippolito Feb 27, 2023
1760ae4
src: fix useless call in permission.cc
tniessen Feb 27, 2023
64d1304
bootstrap: print stack trace during environment creation failure
joyeecheung Feb 6, 2023
5043689
src: fix cb scope bugs involved in termination
ywave620 Feb 28, 2023
152cb4b
doc: use destructing import
jakecastelli Feb 26, 2023
4a098e8
doc: sort import order
jakecastelli Feb 26, 2023
992f9a7
timers: use V8 fast API calls
joyeecheung Feb 28, 2023
efa4f9d
doc: add history info for `node:test`
aduh95 Feb 28, 2023
8934044
meta: remove AUTHORS file
Trott Feb 28, 2023
18d0d36
deps: update ada to 1.0.4
nodejs-github-bot Feb 28, 2023
bf2c7c7
tools: update eslint to 8.35.0
nodejs-github-bot Feb 28, 2023
485ba79
src: do not track BaseObjects directly in Realm
joyeecheung Feb 28, 2023
16f6d7e
vm: fix leak in vm.compileFunction when importModuleDynamically is used
joyeecheung Feb 22, 2023
c193b25
src: remove shadowed variable in OptionsParser
codebytere Mar 1, 2023
f1ac88a
test: move socket from CWD to temporary directory
LiviaMedeiros Mar 1, 2023
cf745c5
test: fix file path in permission symlink test
LiviaMedeiros Mar 1, 2023
a57080a
lib: fix BroadcastChannel initialization location
codebytere Mar 1, 2023
28c992b
url: improve `isURLThis` detection
anonrig Mar 1, 2023
001c8b4
test: update web-platform tests for url
meixg Mar 1, 2023
5471c4a
tools: fix daily wpt nightly version selection
panva Mar 1, 2023
c78d8b7
repl: fix .load infinite loop caused by shared use of lineEnding RegExp
Theo-Steiner Mar 1, 2023
e994fd4
repl: remove lastInputPreview conditional check
jenthone Mar 1, 2023
12bf114
src: make util.h self-containted
joyeecheung Feb 24, 2023
3b17a72
src: move AliasedBuffer implementation to -inl.h
joyeecheung Feb 24, 2023
2b26a70
src: fix AliasedBuffer memory attribution in heap snapshots
joyeecheung Feb 24, 2023
8422ac2
url: remove unused `kFormat` from url
anonrig Feb 27, 2023
f9a0089
doc: fix stream iterator helpers examples
benjamingr Mar 1, 2023
dc4c5f5
deps: update uvwasi to v0.0.16
mhdawson Feb 23, 2023
0f3b091
wasi: add wasi sock_accept stub
mhdawson Jan 30, 2023
16d3b9a
doc: add request to hold off publicising sec releases
mhdawson Feb 17, 2023
a743ed5
url: remove unnecessary call to `FunctionPrototypeBind`
aduh95 Mar 1, 2023
5d2a673
deps: update simdutf to 3.2.2
nodejs-github-bot Mar 1, 2023
e509018
test: assume priv ports start at 1024 if it can't be changed
KrayzeeKev Mar 2, 2023
9fa8247
tools: refactor dep_updaters
tony-go Mar 2, 2023
79404e9
build: fix Visual Studio installation detection for Arm64
Blackhex Mar 2, 2023
02c907d
url: set `formatUrl` method as no side effect
anonrig Mar 2, 2023
724cfc2
src: fix missing trailing ,
zcbenz Mar 2, 2023
213efa6
src: fix negative nodeTiming milestone values
legendecas Feb 9, 2023
669c36b
tools: add automation for updating OpenSSL dependency
facutuesca Nov 24, 2022
c0faefd
test: move testPath from CWD to temporary directory
LiviaMedeiros Mar 3, 2023
3644d9d
esm: add a runtime warning when using import assertions
aduh95 Mar 3, 2023
ddc18fc
doc: fix fs missing import
jakecastelli Mar 3, 2023
9b3e409
doc: fix links to SSL_CTX_set_options
tniessen Mar 4, 2023
05ac22a
doc: add release key for Juan Arboleda
juanarbol Mar 5, 2023
05ed78e
test_runner: align behavior of it and test
MoLow Feb 28, 2023
38c5b8b
test: simplify test-tls-ecdh-auto
tniessen Mar 5, 2023
785c5c2
tools: update lint-md-dependencies to [email protected]
nodejs-github-bot Mar 5, 2023
b66165c
doc: use number which is bigger than 1024 as port in http2
deokjinkim Mar 6, 2023
77e0f42
doc: fix port of destination server is not defined in http2
deokjinkim Mar 6, 2023
65a3176
doc: improve fs code example quality
jakecastelli Mar 4, 2023
8e2a17e
doc: fix description of TLS dhparam option
tniessen Mar 6, 2023
cddf54f
worker: add support for worker name in inspector and trace_events
debadree25 Mar 6, 2023
6fa00bc
doc: remove useless SSL_OP_* options
tniessen Mar 6, 2023
1df6c20
test: improve test coverage of lib/dns
paivaandeerson Feb 23, 2023
feb698b
deps,test: update postject to 1.0.0-alpha.5
nodejs-github-bot Mar 3, 2023
d3f0880
test: update WPT resources, common, streams, FileAPI, broadcastchannel
panva Mar 2, 2023
40f13eb
esm: fix import assertion warning
aduh95 Mar 7, 2023
4329c49
permission: fix spawnSync permission check
RafaelGSS Mar 6, 2023
2b6d9fe
test_runner: give the root test a harness reference
cjihrig Mar 5, 2023
cdf2ba2
test_runner: remove root tracking set
cjihrig Mar 5, 2023
d654f46
benchmark: stablize encode benchmark
joyeecheung Feb 11, 2023
db4fa93
src: move encoding bindings to a new binding
joyeecheung Feb 11, 2023
7ec0dcb
src: use AliasedUint32Array for encodeInto results
joyeecheung Feb 11, 2023
cf73cf8
src: remove unused `v8::Uint32Array` from encoding
anonrig Mar 8, 2023
38e83b8
http: use listenerCount when adding noop event
ShogunPanda Mar 8, 2023
017172d
doc: fix myUrl is not defined in url
recrack Mar 8, 2023
49c87f9
doc: fix history information for `node:diagnostics_channel`
tlhunter Mar 8, 2023
525a2db
typings: improve `primordials` typings
aduh95 Mar 8, 2023
63544b7
test: add coverage for custom loader hooks with permission model
aduh95 Mar 8, 2023
b282a0a
doc: add missing test runner flags to man page
cjihrig Mar 8, 2023
9b7d39f
src: remove use of SSL_OP_SINGLE_DH_USE
tniessen Mar 4, 2023
79ecbe9
src: remove TLSEXT_TYPE_alpn guard
tniessen Mar 4, 2023
6faded4
test: simplify test-tls-ecdh-multiple
tniessen Mar 5, 2023
8886840
test,crypto: update WebCryptoAPI WPT
panva Mar 10, 2023
bd9c475
meta: add single-executable labels and code owners
joyeecheung Mar 10, 2023
43c2d41
url: fix array overrun in node:url::SetArgs()
anonrig Mar 10, 2023
1175e4f
net: fix setting of value in 'setDefaultAutoSelectFamilyAttemptTimeout'
deokjinkim Mar 10, 2023
ebe6bd6
doc: fix typo on esm loaders example
ruyadorno Mar 10, 2023
49a5c03
tools: automate cares update
marco-ippolito Mar 10, 2023
2e095e2
test: fallback to IPv4 if IPv6 is unavailable
abmusse Mar 11, 2023
9a0a3c5
tools: dont use cached node versions in daily wpt
panva Mar 11, 2023
f4b3ce8
doc,test: extend the list of platforms supported by single-executables
RaisinTen Mar 11, 2023
cc5bcff
benchmark: replace table in docs with description of file tree structure
Theo-Steiner Mar 11, 2023
5be908d
test: move `test-tls-autoselectfamily-servername` to `test/internet`
aduh95 Mar 11, 2023
227629e
debugger: add a command to set which lines to check for context
Dailyscat Mar 12, 2023
119b241
tls: support automatic DHE
tniessen Mar 12, 2023
e5ffba0
doc: amend support tier qualifier
gireeshpunathil Apr 21, 2022
3a24f7b
debugger: improve validations and documents for watch and unwatch
Dailyscat Mar 13, 2023
cf80847
benchmark: add a benchmark for URLSearchParams creation and toString()
debadree25 Mar 13, 2023
1e8fe6f
doc: fix typo in test.md
vhiairrassary Mar 13, 2023
ef5ce68
test: fix flakyness in test-runner reporter test
MoLow Dec 22, 2022
aa35ec7
test_runner: flatten TAP output when running using `--test`
MoLow Feb 18, 2023
62d0c0f
test_runner: emit test-only diagnostic warning
richiemccoll Feb 21, 2023
3641388
test_runner: bootstrap reporters before running tests
MoLow Feb 19, 2023
33ce360
events: add trailing commas in source files
aduh95 Feb 24, 2023
1a97c4b
lib,src: fix a few typos in comments
tniessen Feb 25, 2023
8a55ef4
test_runner: reset count on watch mode
MoLow Feb 8, 2023
0b7d2a4
lib: add trailing commas to all public core modules
aduh95 Feb 12, 2023
1674601
url: offload `URLSearchParams` initialization
anonrig Feb 27, 2023
63cab16
test_runner: fix reconstruction of errors extracted from YAML
MoLow Mar 1, 2023
95bf734
test_runner: avoid running twice tests in describe
MoLow Feb 28, 2023
2ea710d
lib: enforce use of trailing commas
aduh95 Feb 28, 2023
4b0f81d
test_runner: track bootstrapping process
cjihrig Mar 5, 2023
5210b78
test_runner: throw if harness is not bootstrapped
cjihrig Mar 5, 2023
a14cf7d
test_runner: handle errors not bound to tests
cjihrig Feb 16, 2023
4122a4d
test_runner: default to spec reporter when on TTY environment
MoLow Mar 6, 2023
1e8c7af
esm: move hooks handling into separate class
GeoffreyBooth Dec 20, 2022
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
  •  
  •  
  •  
10 changes: 10 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,13 @@
/lib/test.js @nodejs/test_runner
/lib/internal/main/test_runner.js @nodejs/test_runner
/lib/internal/test_runner/* @nodejs/test_runner

# Single Executable Applications
/deps/postject @nodejs/single-executable
/doc/api/single-executable-applications.md @nodejs/single-executable
/doc/contributing/maintaining-postject.md @nodejs/single-executable
/doc/contributing/maintaining-single-executable-application-support.md @nodejs/single-executable
/src/node_sea* @nodejs/single-executable
/test/fixtures/postject-copy @nodejs/single-executable
/test/parallel/test-single-executable-* @nodejs/single-executable
/tools/dep_updaters/update-postject.sh @nodejs/single-executable
1 change: 1 addition & 0 deletions .github/label-pr-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ subSystemLabels:
/^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\/node_sea/: single-executable

# don't label python files as c++
/^src\/.+\.py$/: python, needs-ci
Expand Down
39 changes: 0 additions & 39 deletions .github/workflows/authors.yml

This file was deleted.

17 changes: 10 additions & 7 deletions .github/workflows/daily-wpt-fyi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,13 @@ jobs:
# install a version and checkout
- name: Get latest nightly
if: matrix.node-version == 'latest-nightly'
run: echo "NIGHTLY=$(curl -s https://nodejs.org/download/nightly/index.json | jq -r '.[0].version')" >> $GITHUB_ENV
run: echo "NIGHTLY=$(curl -s https://nodejs.org/download/nightly/index.json | jq -r '[.[] | select(.files[] | contains("linux-x64"))][0].version')" >> $GITHUB_ENV
- name: Install Node.js
id: setup-node
uses: actions/setup-node@v3
with:
node-version: ${{ env.NIGHTLY || matrix.node-version }}
check-latest: true
- name: Get nightly ref
if: contains(matrix.node-version, 'nightly')
env:
Expand Down Expand Up @@ -96,16 +97,18 @@ jobs:
if-no-files-found: warn
- name: Upload WPT Report to wpt.fyi API
env:
WPT_FYI_ENDPOINT: ${{ vars.WPT_FYI_ENDPOINT }}
WPT_FYI_USERNAME: ${{ vars.WPT_FYI_USERNAME }}
WPT_FYI_PASSWORD: ${{ secrets.WPT_FYI_PASSWORD }}
run: |
if [ -e out/wpt/wptreport.json ]; then
cd out/wpt
gzip wptreport.json
curl \
-u "$WPT_FYI_USERNAME:$WPT_FYI_PASSWORD" \
-F "[email protected]" \
-F "labels=master" \
$WPT_FYI_ENDPOINT
for WPT_FYI_ENDPOINT in "https://wpt.fyi/api/results/upload" "https://staging.wpt.fyi/api/results/upload"
do
curl \
-u "$WPT_FYI_USERNAME:$WPT_FYI_PASSWORD" \
-F "[email protected]" \
-F "labels=master" \
$WPT_FYI_ENDPOINT
done
fi
67 changes: 37 additions & 30 deletions .github/workflows/tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,10 @@ jobs:
subsystem: tools
label: tools
run: |
NEW_VERSION=$(npm view eslint dist-tags.latest)
CURRENT_VERSION=$(node -p "require('./tools/node_modules/eslint/package.json').version")
if [ "$NEW_VERSION" != "$CURRENT_VERSION" ]; then
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
./tools/dep_updaters/update-eslint.sh
fi
./tools/dep_updaters/update-eslint.sh > temp-output
cat temp-output
tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true
rm temp-output
- id: corepack
subsystem: deps
label: dependencies
Expand Down Expand Up @@ -81,12 +79,10 @@ jobs:
subsystem: deps,test
label: test
run: |
NEW_VERSION=$(npm view postject dist-tags.latest)
CURRENT_VERSION=$(node -p "require('./test/fixtures/postject-copy/node_modules/postject/package.json').version")
if [ "$NEW_VERSION" != "$CURRENT_VERSION" ]; then
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
./tools/dep_updaters/update-postject.sh
fi
./tools/dep_updaters/update-postject.sh > temp-output
cat temp-output
tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true
rm temp-output
- id: base64
subsystem: deps
label: dependencies
Expand Down Expand Up @@ -122,28 +118,18 @@ jobs:
subsystem: deps
label: dependencies
run: |
NEW_VERSION=$(gh api repos/libuv/libuv/releases/latest -q '.tag_name|ltrimstr("v")')
VERSION_H="./deps/uv/include/uv/version.h"
CURRENT_MAJOR_VERSION=$(grep "#define UV_VERSION_MAJOR" $VERSION_H | sed -n "s/^.*MAJOR \(.*\)/\1/p")
CURRENT_MINOR_VERSION=$(grep "#define UV_VERSION_MINOR" $VERSION_H | sed -n "s/^.*MINOR \(.*\)/\1/p")
CURRENT_PATCH_VERSION=$(grep "#define UV_VERSION_PATCH" $VERSION_H | sed -n "s/^.*PATCH \(.*\)/\1/p")
CURRENT_SUFFIX_VERSION=$(grep "#define UV_VERSION_SUFFIX" $VERSION_H | sed -n "s/^.*SUFFIX \"\(.*\)\"/\1/p")
SUFFIX_STRING=$([[ -z "$CURRENT_SUFFIX_VERSION" ]] && echo "" || echo "-$CURRENT_SUFFIX_VERSION")
CURRENT_VERSION="$CURRENT_MAJOR_VERSION.$CURRENT_MINOR_VERSION.$CURRENT_PATCH_VERSION$SUFFIX_STRING"
if [ "$NEW_VERSION" != "$CURRENT_VERSION" ]; then
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
./tools/dep_updaters/update-libuv.sh "$NEW_VERSION"
fi
./tools/dep_updaters/update-libuv.sh > temp-output
cat temp-output
tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true
rm temp-output
- id: simdutf
subsystem: deps
label: dependencies
run: |
NEW_VERSION=$(gh api repos/simdutf/simdutf/releases/latest -q '.tag_name|ltrimstr("v")')
CURRENT_VERSION=$(grep "#define SIMDUTF_VERSION" ./deps/simdutf/simdutf.h | sed -n "s/^.*VERSION \(.*\)/\1/p")
if [ "$NEW_VERSION" != "$CURRENT_VERSION" ]; then
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
./tools/dep_updaters/update-simdutf.sh "$NEW_VERSION"
fi
./tools/dep_updaters/update-simdutf.sh > temp-output
cat temp-output
tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true
rm temp-output
- id: ada
subsystem: deps
label: dependencies
Expand All @@ -164,6 +150,27 @@ jobs:
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
./tools/update-nghttp2.sh "$NEW_VERSION"
fi
- id: llhttp
subsystem: deps
label: dependencies
run: |
NEW_VERSION=$(gh api repos/nodejs/llhttp/releases/latest -q '.tag_name|ltrimstr("release/v")')
CURRENT_MAJOR_VERSION=$(grep "#define LLHTTP_VERSION_MAJOR" ./deps/llhttp/include/llhttp.h | sed -n "s/^.*MAJOR \(.*\)/\1/p")
CURRENT_MINOR_VERSION=$(grep "#define LLHTTP_VERSION_MINOR" ./deps/llhttp/include/llhttp.h | sed -n "s/^.*MINOR \(.*\)/\1/p")
CURRENT_PATCH_VERSION=$(grep "#define LLHTTP_VERSION_PATCH" ./deps/llhttp/include/llhttp.h | sed -n "s/^.*PATCH \(.*\)/\1/p")
CURRENT_VERSION="$CURRENT_MAJOR_VERSION.$CURRENT_MINOR_VERSION.$CURRENT_PATCH_VERSION"
if [ "$NEW_VERSION" != "$CURRENT_VERSION" ]; then
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
./tools/update-llhttp.sh "$NEW_VERSION"
fi
- id: c-ares
subsystem: deps
label: dependencies
run: |
./tools/dep_updaters/update-c-ares.sh > temp-output
cat temp-output
tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true
rm temp-output
steps:
- uses: actions/checkout@v3
with:
Expand Down
70 changes: 70 additions & 0 deletions .github/workflows/update-openssl.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: OpenSSL update
on:
schedule:
# Run once a week at 00:05 AM UTC on Sunday.
- cron: 5 0 * * 0

workflow_dispatch:

permissions:
contents: read

jobs:
openssl-update:
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Check if update branch already exists
run: |
BRANCH_EXISTS=$(git ls-remote --heads origin actions/tools-update-openssl)
echo "BRANCH_EXISTS=$BRANCH_EXISTS" >> $GITHUB_ENV
- name: Check and download new OpenSSL version
# Only run rest of the workflow if the update branch does not yet exist
if: ${{ env.BRANCH_EXISTS == '' }}
run: |
NEW_VERSION=$(gh api repos/quictls/openssl/releases -q '.[].tag_name|select(contains("openssl-3"))|ltrimstr("openssl-")' | head -n1)
NEW_VERSION_NO_RELEASE_1=$(case $NEW_VERSION in *quic1) echo ${NEW_VERSION%1};; *) echo $NEW_VERSION;; esac)
VERSION_H="./deps/openssl/config/archs/linux-x86_64/asm/include/openssl/opensslv.h"
CURRENT_VERSION=$(grep "OPENSSL_FULL_VERSION_STR" $VERSION_H | sed -n "s/^.*VERSION_STR \"\(.*\)\"/\1/p")
if [ "$NEW_VERSION_NO_RELEASE_1" != "$CURRENT_VERSION" ]; then
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
echo "HAS_UPDATE=true" >> $GITHUB_ENV
./tools/dep_updaters/update-openssl.sh download "$NEW_VERSION"
fi
env:
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
- name: Create PR with first commit
if: env.HAS_UPDATE
uses: gr2m/create-or-update-pull-request-action@v1
# Creates a PR with the new OpenSSL source code committed
env:
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
with:
author: Node.js GitHub Bot <[email protected]>
body: This is an automated update of OpenSSL to ${{ env.NEW_VERSION }}.
branch: actions/tools-update-openssl # Custom branch *just* for this Action.
commit-message: 'deps: upgrade openssl sources to quictls/openssl-${{ env.NEW_VERSION }}'
labels: dependencies
title: 'deps: update OpenSSL to ${{ env.NEW_VERSION }}'
path: deps/openssl
- name: Regenerate platform specific files
if: env.HAS_UPDATE
run: |
sudo apt install -y nasm libtext-template-perl
./tools/dep_updaters/update-openssl.sh regenerate
env:
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
- name: Add second commit
# Adds a second commit to the PR with the generated platform-dependent files
if: env.HAS_UPDATE
uses: gr2m/create-or-update-pull-request-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
with:
author: Node.js GitHub Bot <[email protected]>
branch: actions/tools-update-openssl # Custom branch *just* for this Action.
commit-message: 'deps: update archs files for openssl-${{ env.NEW_VERSION }}'
path: deps/openssl
Loading