We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8231335 commit aacf4eaCopy full SHA for aacf4ea
src/review.ts
@@ -121,11 +121,11 @@ export const codeReview = async (
121
core.warning(`Skipped: files data is missing`)
122
return
123
}
124
- // Filter out any file that is not changed compared to the target branch
125
- const files = incrementalFiles.filter(incrementalChange =>
126
- targetBranchFiles.some(
127
- changeRelativeToTargetBranch =>
128
- changeRelativeToTargetBranch.filename === incrementalChange.filename
+
+ // Filter out any file that is changed compared to the incremental changes
+ const files = targetBranchFiles.filter(targetBranchFile =>
+ incrementalFiles.some(
+ incrementalFile => incrementalFile.filename === targetBranchFile.filename
129
)
130
131
0 commit comments