edsger 0.7.1 → 0.7.2

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.
@@ -250,12 +250,15 @@ export const reviewPullRequest = async (options, config) => {
250
250
  if (verbose) {
251
251
  logInfo('✅ No issues found. PR looks good!');
252
252
  }
253
- // Create an approval review if no issues found
253
+ // Create a comment review if no issues found
254
+ // Note: We use COMMENT instead of APPROVE because:
255
+ // 1. Automated reviews should not approve PRs
256
+ // 2. GitHub doesn't allow approving your own PR
254
257
  const review = await octokit.pulls.createReview({
255
258
  owner: context.owner,
256
259
  repo: context.repo,
257
260
  pull_number: context.pullRequestNumber,
258
- event: 'APPROVE',
261
+ event: 'COMMENT',
259
262
  body: summary ||
260
263
  overall_assessment ||
261
264
  'Code review completed. No issues found.',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edsger",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "edsger": "dist/index.js"