Skip to content

Commit

Permalink
pushing action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
suitedaces committed Dec 24, 2023
1 parent 96ac7f9 commit ec94835
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: 'Dexter - AI Code Reviewer'
author: 'Ishan Nagpal'
description: 'Automated code review with Dexter AI using OpenAI models'
inputs:
GITHUB_TOKEN:
description: 'GitHub Token for authentication'
required: true
OPENAI_API_KEY:
description: 'OpenAI API Key for accessing AI models'
required: true
OPENAI_API_MODEL:
description: 'The OpenAI model to use for code review'
required: false
default: 'gpt-4-0314'
runs:
using: 'node18'
main: 'dist/index.js'
branding:
icon: 'eye'
color: 'blue'
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async function main() {
chunks: file.chunks ?? [],
}));

// Filter files based on exclude patterns
// Filter files based on excluded patterns
const filteredFiles = filterFiles(diffFiles, appConfig.EXCLUDE_PATTERNS);

// Analyze the diff and generate comments
Expand Down

0 comments on commit ec94835

Please sign in to comment.