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

Commit

Permalink
ignore go.work file (#86)
Browse files Browse the repository at this point in the history
<!-- 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 -->
  • Loading branch information
harjotgill authored Mar 24, 2023
1 parent d02f2e0 commit 5055dad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
1 change: 1 addition & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ inputs:
!**/*.ini
!**/*.mod
!**/*.sum
!**/*.work
!**/*.json
!**/*.mmd
!**/*.svg
Expand Down
3 changes: 1 addition & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions src/review.ts
Original file line number Diff line number Diff line change
Expand Up @@ -444,10 +444,7 @@ ${
await Promise.all(reviewPromises)

// comment about skipped files for review and summarize
if (
skipped_files_to_review.length > 0 ||
skipped_files_to_summarize.length > 0
) {
if (skipped_files_to_review.length > 0) {
const tag = '<!-- openai-skipped-files -->'
// make bullet points for skipped files
const comment = `
Expand Down

0 comments on commit 5055dad

Please sign in to comment.