diff --git a/.github/workflows/stats.yml b/.github/workflows/stats.yml index 299ecf0e2..a70e3e11a 100644 --- a/.github/workflows/stats.yml +++ b/.github/workflows/stats.yml @@ -54,7 +54,7 @@ jobs: }); for (let i = comments.length - 1; i >= 0; i--) { - if (comments[i].body.includes("APK & AAB differences analysis")) { + if (comments[i].body.includes("# APK & AAB differences analysis")) { const latestComment = comments[i]; const commentBody = latestComment.body; const commentDate = latestComment.created_at; @@ -87,6 +87,7 @@ jobs: if(recentCommitsCount > 0 || !latestCommentDate) { core.setOutput("new_commits", "true"); } else { + console.log("No new commits since the last APK & AAB report; Skipping redundant analysis."); core.setOutput("new_commits", "false"); }