Skip to content

Commit

Permalink
refac: remove await of createReviewOnPr
Browse files Browse the repository at this point in the history
  • Loading branch information
emanuel-braz committed Nov 13, 2023
1 parent fc32d4c commit 88bd9b9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/code-review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ jobs:
exclude: "**/*.json, **/*.md, **/*.g.dart"
append_prompt: |
- Give a maximum of 4 suggestions
- Do not suggest code formatting issues.
- Do not suggest imports issues.
2 changes: 1 addition & 1 deletion code-review/action.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ async function main() {

const comments = await analyzeCode(filteredDiff, prDetails);
if (comments.length > 0) {
await createReviewOnPr(
createReviewOnPr(
prDetails.owner,
prDetails.repo,
prDetails.pull_number,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "braz-actions",
"version": "0.1.0",
"version": "0.1.1",
"private": true,
"description": "GitHub Actions",
"main": "create-update-release/action.js",
Expand Down

0 comments on commit 88bd9b9

Please sign in to comment.