From 0913452391f088bb47fc151ed23ecabcb2247896 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9?= Date: Fri, 25 Sep 2026 14:49:14 +0100 Subject: [PATCH] tools: add lief to automated dependency updates Signed-off-by: Renegade334 PR-URL: https://github.com/nodejs/node/pull/66242 Refs: https://github.com/nodejs/node/pull/61167 Reviewed-By: Aviv Keller Reviewed-By: Yagiz Nizipli Reviewed-By: Antoine du Hamel Reviewed-By: Richard Lau Reviewed-By: Joyee Cheung --- .github/workflows/tools.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tools.yml b/.github/workflows/tools.yml index fe2db7ac95c..497a5c1230f 100644 --- a/.github/workflows/tools.yml +++ b/.github/workflows/tools.yml @@ -28,6 +28,7 @@ on: - inspector_protocol - libffi - libuv + - lief - llhttp - minimatch - nbytes @@ -150,6 +151,7 @@ jobs: - id: icu subsystem: deps label: dependencies, test, icu + requires-python: true run: | ./tools/dep_updaters/update-icu.sh > temp-output cat temp-output @@ -158,6 +160,7 @@ jobs: - id: inspector_protocol subsystem: deps label: dependencies, inspector + requires-python: true run: | ./tools/dep_updaters/update-inspector-protocol.sh > temp-output cat temp-output @@ -179,6 +182,15 @@ jobs: cat temp-output tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true rm temp-output + - id: lief + subsystem: deps + label: dependencies, dont-land-on-v22.x + requires-python: true + run: | + ./tools/dep_updaters/update-lief.sh > temp-output + cat temp-output + tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true + rm temp-output - id: llhttp subsystem: deps label: dependencies @@ -321,9 +333,7 @@ jobs: with: persist-credentials: false - name: Set up Python ${{ env.PYTHON_VERSION }} - if: | - (matrix.id == 'icu' || matrix.id == 'inspector_protocol') && - (github.event_name == 'schedule' || inputs.id == 'all' || inputs.id == matrix.id) + if: matrix.requires-python && (github.event_name == 'schedule' || inputs.id == 'all' || inputs.id == matrix.id) uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 with: python-version: ${{ env.PYTHON_VERSION }}