From be10927c4af5d32f48c3d4b7ac87142e4933be4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Jaegervall=20=28J=C3=A4gervall=29?= <30996601+erikbosch@users.noreply.github.com> Date: Fri, 2 Aug 2024 12:55:00 +0200 Subject: [PATCH] Add printout on lifecycle mismatch (#64) --- src/common/workflows/ensure-lifecycle.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/common/workflows/ensure-lifecycle.yml b/src/common/workflows/ensure-lifecycle.yml index cf93e15..bc49e18 100644 --- a/src/common/workflows/ensure-lifecycle.yml +++ b/src/common/workflows/ensure-lifecycle.yml @@ -52,6 +52,15 @@ jobs: echo "changed=0" >> $GITHUB_OUTPUT else echo "changed=1" >> $GITHUB_OUTPUT + + echo -e "## Summary of detected changes\n" >> $GITHUB_STEP_SUMMARY + echo -e "\`\`\`bash" >> $GITHUB_STEP_SUMMARY + git status --porcelain >> $GITHUB_STEP_SUMMARY + echo -e "\`\`\`" >> $GITHUB_STEP_SUMMARY + echo -e "## Diff Details\n" >> $GITHUB_STEP_SUMMARY + echo -e "\`\`\`bash" >> $GITHUB_STEP_SUMMARY + git diff >> $GITHUB_STEP_SUMMARY + echo -e "\`\`\`" >> $GITHUB_STEP_SUMMARY fi shell: bash