mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-10-31 16:22:49 +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"
|
echo "body<<EOF"
|
||||||
if [ "$on_main" = "true" ]; then
|
if [ "$on_main" = "true" ]; then
|
||||||
echo "Update the \`enterprise\` submodule from \`$current\` to the latest commit of \`main\` (\`$main\`)."
|
# Do not list the commit messages, the enterprise repository is private.
|
||||||
echo
|
count=$(git -C "$RUNNER_TEMP/enterprise" rev-list --count "$current..$main")
|
||||||
echo "New commits:"
|
echo "Update the \`enterprise\` submodule from \`$current\` to the latest commit of \`main\` (\`$main\`), $count new commit(s)."
|
||||||
echo
|
|
||||||
git -C "$RUNNER_TEMP/enterprise" log --format='- %h %s' "$current..$main"
|
|
||||||
else
|
else
|
||||||
echo "The \`enterprise\` submodule targets \`$current\`, which is not on the \`main\` branch."
|
echo "The \`enterprise\` submodule targets \`$current\`, which is not on the \`main\` branch."
|
||||||
echo
|
echo
|
||||||
|
|||||||
Reference in New Issue
Block a user