From adcd028c0e4fddb9c8c10237ccce50dc58b3abc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9?= Date: Thu, 1 Oct 2026 16:48:02 +0100 Subject: [PATCH] tools: keep OpenSSL update PRs in draft until arch configs committed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Renegade334 PR-URL: https://github.com/nodejs/node/pull/66398 Reviewed-By: Richard Lau Reviewed-By: Juan José Arboleda Reviewed-By: Xuguang Mei --- .github/workflows/update-openssl.yml | 8 ++++++++ 1 file changed, 8 insertions(+) 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"