feat: update AI code review workflow to use specific action URL and add tagging step
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -7,8 +7,15 @@ jobs:
|
|||||||
name: 'Code Review'
|
name: 'Code Review'
|
||||||
runs-on: ubuntu
|
runs-on: ubuntu
|
||||||
steps:
|
steps:
|
||||||
|
- name: Tag develop on source branch
|
||||||
|
uses: akkuman/gitea-release-action@${{ vars.ACTION_RELEASE_VERSION }}
|
||||||
|
with:
|
||||||
|
tag: develop
|
||||||
|
target: ${{ github.head_ref }}
|
||||||
|
generate_release_notes: false
|
||||||
|
prerelease: false
|
||||||
- name: AI Code Review
|
- name: AI Code Review
|
||||||
uses: ../../action.yaml
|
uses: https://gitea.jsc.idv.tw/jiantw83/code-review@develop
|
||||||
with:
|
with:
|
||||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||||
OPENAI_BASE_URL: https://api.openai.com/v1
|
OPENAI_BASE_URL: https://api.openai.com/v1
|
||||||
|
|||||||
Reference in New Issue
Block a user