mirror of
https://github.com/nextcloud/android.git
synced 2024-11-29 02:38:58 +03:00
analysis: Also publish summary to GITHUB_STEP_SUMMARY
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
This commit is contained in:
parent
ca374aa57d
commit
5428cf710b
1 changed files with 3 additions and 1 deletions
|
@ -131,7 +131,9 @@ else
|
||||||
notNull="org.jetbrains.annotations.NotNull is used. Please use androidx.annotation.NonNull instead.<br><br>"
|
notNull="org.jetbrains.annotations.NotNull is used. Please use androidx.annotation.NonNull instead.<br><br>"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
payload="{ \"body\" : \"$codacyResult $lintResult $spotbugsResult $checkLibraryMessage $lintMessage $spotbugsMessage $gplayLimitation $notNull\" }"
|
bodyContent="$codacyResult $lintResult $spotbugsResult $checkLibraryMessage $lintMessage $spotbugsMessage $gplayLimitation $notNull"
|
||||||
|
echo "$bodyContent" >> "$GITHUB_STEP_SUMMARY"
|
||||||
|
payload="{ \"body\" : \"$bodyContent\" }"
|
||||||
curl_gh -X POST "https://api.github.com/repos/nextcloud/$repository/issues/${PR_NUMBER}/comments" -d "$payload"
|
curl_gh -X POST "https://api.github.com/repos/nextcloud/$repository/issues/${PR_NUMBER}/comments" -d "$payload"
|
||||||
|
|
||||||
if [ ! -z "$gplayLimitation" ]; then
|
if [ ! -z "$gplayLimitation" ]; then
|
||||||
|
|
Loading…
Reference in a new issue