diff --git a/.github/workflows/codeowner_review_status.yml b/.github/workflows/codeowner_review_status.yml index a09f5b21a4e..137f7913334 100644 --- a/.github/workflows/codeowner_review_status.yml +++ b/.github/workflows/codeowner_review_status.yml @@ -60,9 +60,10 @@ jobs: pull_number: number, }); - // Track latest review state per user + // Track latest review state per user (ignore commented state) const latestReviews = new Map(); reviews.forEach(review => { + if (review.state === 'COMMENTED') return; const existing = latestReviews.get(review.user.login); if (!existing || review.submitted_at > existing.submitted_at) { latestReviews.set(review.user.login, review); @@ -200,4 +201,4 @@ jobs: description: statusDescription, context: 'Documentation Team Approval' }); - console.log(`Created commit status: ${statusState} - ${statusDescription}`); \ No newline at end of file + console.log(`Created commit status: ${statusState} - ${statusDescription}`);