mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-04-20 09:36:47 +00:00
Added the include
pattern matching feature to the gh action
This commit is contained in:
parent
89a44f2d65
commit
49d90aa697
9 changed files with 73 additions and 22 deletions
|
@ -17,7 +17,11 @@ inputs:
|
|||
description: "Base URL to the OpenAI API model (OpenAI or Azure)."
|
||||
required: true
|
||||
exclude:
|
||||
description: "Glob patterns to exclude files from the diff analysis"
|
||||
description: "Glob patterns to exclude files from the diff analysis. This has precedence over the `include` matches."
|
||||
required: false
|
||||
default: ""
|
||||
include:
|
||||
description: "Glob patterns to only include certain files from the diff analysis."
|
||||
required: false
|
||||
default: ""
|
||||
runs:
|
||||
|
|
|
@ -22,4 +22,5 @@ jobs:
|
|||
OPENAI_API_MODEL: ${{ vars.OPENAI_API_MODEL }}
|
||||
OPENAI_API_VERSION: ${{ vars.OPENAI_API_VERSION }}
|
||||
OPENAI_BASE_URL: ${{ vars.OPENAI_BASE_URL }}
|
||||
exclude: "yarn.lock,dist/**"
|
||||
exclude: "*lock*,dist/**,**/*.js,**/*.js.map"
|
||||
include: "**/*.ts,**/*.yml"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue