Commit 642b35353af for nodejs

commit 642b35353afbc7a68e7dd5e26457703715b20cd0
Author: René <contact.9a5d6388@renegade334.me.uk>
Date:   Fri Sep 25 14:49:14 2026 +0100

    tools: add lief to automated dependency updates

    Signed-off-by: Renegade334 <contact.9a5d6388@renegade334.me.uk>
    PR-URL: https://github.com/nodejs/node/pull/66242
    Refs: https://github.com/nodejs/node/pull/61167
    Reviewed-By: Aviv Keller <me@aviv.sh>
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Richard Lau <richard.lau@ibm.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>

diff --git a/.github/workflows/tools.yml b/.github/workflows/tools.yml
index b70bc4c34f7..8c396e7378f 100644
--- a/.github/workflows/tools.yml
+++ b/.github/workflows/tools.yml
@@ -28,6 +28,7 @@ on:
           - inspector_protocol
           - libffi
           - libuv
+          - lief
           - llhttp
           - nbytes
           - nixpkgs-unstable
@@ -149,6 +150,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
@@ -157,6 +159,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
@@ -178,6 +181,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
@@ -312,9 +324,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 }}