Commit adcd028c0e4 for nodejs

commit adcd028c0e4fddb9c8c10237ccce50dc58b3abc7
Author: René <contact.9a5d6388@renegade334.me.uk>
Date:   Thu Oct 1 16:48:02 2026 +0100

    tools: keep OpenSSL update PRs in draft until arch configs committed

    Signed-off-by: Renegade334 <contact.9a5d6388@renegade334.me.uk>
    PR-URL: https://github.com/nodejs/node/pull/66398
    Reviewed-By: Richard Lau <richard.lau@ibm.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Xuguang Mei <meixuguang@gmail.com>

diff --git a/.github/workflows/update-openssl.yml b/.github/workflows/update-openssl.yml
index 10eb3289a1f..b81a260312b 100644
--- a/.github/workflows/update-openssl.yml
+++ b/.github/workflows/update-openssl.yml
@@ -27,6 +27,7 @@ jobs:
         env:
           GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
       - name: Create PR with first commit
+        id: create-pull-request
         if: env.NEW_VERSION
         uses: gr2m/create-or-update-pull-request-action@b65137ca591da0b9f43bad7b24df13050ea45d1b  # v1.10.1
         # Creates a PR with the new OpenSSL source code committed
@@ -41,6 +42,7 @@ jobs:
           title: 'deps: update OpenSSL to ${{ env.NEW_VERSION }}'
           path: deps/openssl
           update-pull-request-title-and-body: true
+          draft: true
       - name: Regenerate platform specific files
         if: env.NEW_VERSION
         run: |
@@ -59,3 +61,9 @@ jobs:
           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
+      - name: Mark PR as ready for review
+        if: env.NEW_VERSION
+        env:
+          GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
+          PR_ID: ${{ steps.create-pull-request.outputs.pull-request-number }}
+        run: gh --repo "$GITHUB_REPOSITORY" pr ready "$PR_ID"