mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-04-21 01:56: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
5
.github/workflows/code_review.yml
vendored
5
.github/workflows/code_review.yml
vendored
|
@ -12,11 +12,12 @@ jobs:
|
|||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Code Review
|
||||
uses: cds-snc/cds-ai-codereviewer@main
|
||||
uses: cds-snc/cds-ai-codereviewer@feature/include-pattern
|
||||
with:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||
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