mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-10-31 08:15:02 +00:00
Merge pull request #7889 from element-hq/feature/bma/syncEnterpriseSubmoduleNoLeak
Do not list private enterprise commit messages in the submodule update PR
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