]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
.github/workflows/backport.yml: show diff on cherry-pick failure
authorEugene Syromiatnikov <esyr@openssl.org>
Mon, 15 Jun 2026 08:15:44 +0000 (10:15 +0200)
committerTomas Mraz <tomas@openssl.foundation>
Thu, 18 Jun 2026 12:17:16 +0000 (14:17 +0200)
Having the diff available right away in the CI run logs aids evaluation
of severity of the merge conflicts.

Signed-off-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Milan Broz <mbroz@openssl.org>
Reviewed-by: Nikola Pajkovsky <nikolap@openssl.org>
Reviewed-by: Norbert Pocs <norbertp@openssl.org>
MergeDate: Thu Jun 18 12:17:42 2026
(Merged from https://github.com/openssl/openssl/pull/31506)

.github/workflows/backport.yml

index 658a3ef7cbef0a6b04aaaeeb43e48b8c0ad2f1d9..86a53a2abaebb000e76feec7dacc5b215c1d2e7e 100644 (file)
@@ -52,7 +52,7 @@ jobs:
            git config user.name "OpenSSL Machine"
            git config user.email "openssl-machine@openssl.org"
            echo Cherry-picking $REFSTART..$REFEND
-           git cherry-pick $REFSTART..$REFEND
+           git cherry-pick $REFSTART..$REFEND || { git diff | head -n1000; exit 1; }
     - name: config
       if: ${{ contains(join(github.event.pull_request.labels.*.name,','),matrix.release.branch) }}
       run: ${{ matrix.release.cppflags }} ./config --strict-warnings --banner=Configured no-asm enable-fips --strict-warnings -D_DEFAULT_SOURCE && perl configdata.pm --dump