Commit 5cdfaabe10 for openssl.org
commit 5cdfaabe100fa5fac9574c71ad53ec23dfa5f85a
Author: Eugene Syromiatnikov <esyr@openssl.org>
Date: Mon Jun 15 10:15:44 2026 +0200
.github/workflows/backport.yml: show diff on cherry-pick failure
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)
diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml
index 658a3ef7cb..86a53a2aba 100644
--- a/.github/workflows/backport.yml
+++ b/.github/workflows/backport.yml
@@ -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