@sun-asterisk/sunlint 1.3.23 → 1.3.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -380,9 +380,6 @@ async function createReviewsInBatches(octokit, owner, repoName, prNumber, headSh
380
380
  const batch = batches[i];
381
381
  const isLastBatch = i === batches.length - 1;
382
382
 
383
- // Only REQUEST_CHANGES on last batch if there are errors
384
- const eventType = isLastBatch && hasError ? 'REQUEST_CHANGES' : 'COMMENT';
385
-
386
383
  try {
387
384
  const reviewRes = await withRetry(async () => {
388
385
  return await octokit.pulls.createReview({
@@ -390,7 +387,7 @@ async function createReviewsInBatches(octokit, owner, repoName, prNumber, headSh
390
387
  repo: repoName,
391
388
  pull_number: prNumber,
392
389
  commit_id: headSha,
393
- event: eventType,
390
+ event: 'COMMENT',
394
391
  body: isLastBatch && batches.length > 1
395
392
  ? `SunLint found ${comments.length} issue(s) across multiple reviews.`
396
393
  : undefined,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sun-asterisk/sunlint",
3
- "version": "1.3.23",
3
+ "version": "1.3.24",
4
4
  "description": "☀️ SunLint - Multi-language static analysis tool for code quality and security | Sun* Engineering Standards",
5
5
  "main": "cli.js",
6
6
  "bin": {