Skip to content

Commit

Permalink
Add printout on lifecycle mismatch (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikbosch authored Aug 2, 2024
1 parent 7dbff26 commit be10927
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/common/workflows/ensure-lifecycle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit be10927

Please sign in to comment.