We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95072c6 commit c7b2de5Copy full SHA for c7b2de5
1 file changed
.github/workflows/update-submodules.yml
@@ -46,7 +46,9 @@ jobs:
46
SUMMARY=$(git submodule foreach --quiet \
47
'NEW=$(git rev-parse HEAD); \
48
OLD=$(git -C "$toplevel" ls-tree HEAD "$sm_path" | awk "{print \$3}"); \
49
- [ "$NEW" != "$OLD" ] && echo "- **$name**: \`${OLD:0:8}\` → \`${NEW:0:8}\`" || true' \
+ NEW8=$(echo "$NEW" | cut -c1-8); \
50
+ OLD8=$(echo "$OLD" | cut -c1-8); \
51
+ [ "$NEW" != "$OLD" ] && echo "- **$name**: \`$OLD8\` -> \`$NEW8\`" || true' \
52
)
53
echo "summary<<EOF" >> "$GITHUB_OUTPUT"
54
echo "$SUMMARY" >> "$GITHUB_OUTPUT"
0 commit comments