feat: refactor code review workflow to remove tagging step and use dynamic branch reference
This commit is contained in:
@@ -7,16 +7,8 @@ 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:
|
|
||||||
name: develop
|
|
||||||
tag: develop
|
|
||||||
target: ${{ github.head_ref }}
|
|
||||||
generate_release_notes: false
|
|
||||||
prerelease: false
|
|
||||||
- name: AI Code Review
|
- name: AI Code Review
|
||||||
uses: https://gitea.jsc.idv.tw/jiantw83/code-review@develop
|
uses: https://gitea.jsc.idv.tw/jiantw83/code-review@${{ github.head_ref }}
|
||||||
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