mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-10-31 16:22:49 +00:00
Do not list enterprise commit messages in the submodule update PR
The enterprise repository is private, so only mention the number of new commits in the generated PR description. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -54,11 +54,9 @@ jobs:
|
||||
{
|
||||
echo "body<<EOF"
|
||||
if [ "$on_main" = "true" ]; then
|
||||
echo "Update the \`enterprise\` submodule from \`$current\` to the latest commit of \`main\` (\`$main\`)."
|
||||
echo
|
||||
echo "New commits:"
|
||||
echo
|
||||
git -C "$RUNNER_TEMP/enterprise" log --format='- %h %s' "$current..$main"
|
||||
# Do not list the commit messages, the enterprise repository is private.
|
||||
count=$(git -C "$RUNNER_TEMP/enterprise" rev-list --count "$current..$main")
|
||||
echo "Update the \`enterprise\` submodule from \`$current\` to the latest commit of \`main\` (\`$main\`), $count new commit(s)."
|
||||
else
|
||||
echo "The \`enterprise\` submodule targets \`$current\`, which is not on the \`main\` branch."
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user