Skip to content
This repository was archived by the owner on Mar 6, 2024. It is now read-only.

Commit 5055dad

Browse files
authored
ignore go.work file (#86)
<!-- This is an auto-generated comment: release notes by openai --> ### Summary by OpenAI Chore: Update exclusion pattern for files with ".work" extension and simplify logic for skipped files in review.ts. <!-- end of auto-generated comment: release notes by openai -->
1 parent d02f2e0 commit 5055dad

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ inputs:
4141
!**/*.ini
4242
!**/*.mod
4343
!**/*.sum
44+
!**/*.work
4445
!**/*.json
4546
!**/*.mmd
4647
!**/*.svg

dist/index.js

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/review.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -444,10 +444,7 @@ ${
444444
await Promise.all(reviewPromises)
445445

446446
// comment about skipped files for review and summarize
447-
if (
448-
skipped_files_to_review.length > 0 ||
449-
skipped_files_to_summarize.length > 0
450-
) {
447+
if (skipped_files_to_review.length > 0) {
451448
const tag = '<!-- openai-skipped-files -->'
452449
// make bullet points for skipped files
453450
const comment = `

0 commit comments

Comments
 (0)