Skip to content
Merged

test #193

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/cr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
LANGUAGE: English
USE_GITHUB_MODELS: true
LOG_LEVEL: debug
INCLUDE_PATTERNS: 'src/*'
INCLUDE_PATTERNS: src/*,.github/**/*
28 changes: 0 additions & 28 deletions .github/workflows/translate.yml

This file was deleted.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ name: Code Review
permissions:
contents: read
pull-requests: write
models: true # if you choose use github models, set this to be true

on:
pull_request:
Expand Down
2 changes: 2 additions & 0 deletions src/bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ export const robot = (app: Probot) => {
}
} catch (e) {
log.info(`review ${file.filename} failed`, e);
throw e;
}
}
try {
Expand All @@ -185,6 +186,7 @@ export const robot = (app: Probot) => {
});
} catch (e) {
log.info(`Failed to create review`, e);
throw e;
}

console.timeEnd('gpt cost');
Expand Down