Skip to content

Commit 99746ca

Browse files
committed
[skip ci]
1 parent 143b734 commit 99746ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/update-submodules.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
git submodule update --init --remote
2323
2424
# Collect commit IDs for each submodule
25-
COMMIT_IDS=$(git submodule foreach 'echo $path: $(git rev-parse HEAD)')
25+
COMMIT_IDS=$(git submodule foreach --quiet 'echo $path: $(git rev-parse HEAD)')
2626
2727
echo -e "Submodule commits:\n${COMMIT_IDS}"
2828
@@ -57,7 +57,7 @@ jobs:
5757
5858
# Create a Pull Request with submodule commit IDs in the title
5959
PR_TITLE="Update submodules to latest commits"
60-
PR_BODY="This PR updates all submodules to their latest commits.\n\n${COMMIT_IDS}"
60+
PR_BODY="This PR updates all submodules to their latest commits:\n\n${COMMIT_IDS}"
6161
gh pr create --title "$PR_TITLE" --body "$PR_BODY" --base master --head $BRANCH_NAME
6262
else
6363
echo "No submodule updates found"

0 commit comments

Comments
 (0)