fix(action entrypoint): 修正 Docker action 啟動時的 app 路徑 #5
@@ -4,14 +4,9 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
jobs:
|
jobs:
|
||||||
release-tag:
|
release-tag-version:
|
||||||
name: Release Tag
|
name: Release Tag Version
|
||||||
runs-on: ubuntu
|
runs-on: ubuntu
|
||||||
steps:
|
steps:
|
||||||
- name: Release Tag
|
- name: 釋出並標註成品版本
|
||||||
uses: https://gitea.jsc.idv.tw/composite-actions/release-tag@${{ vars.ACTION_VERSION_CALCULATE_VERSION }}
|
uses: https://gitea.jsc.idv.tw/composite-actions/release-tag-version@${{ vars.ACTION_RELEASE_TAG_VERSION }}
|
||||||
with:
|
|
||||||
gitea_token: ${{ secrets.GITEA_TOKEN }}
|
|
||||||
gitea_release: ${{ vars.ACTION_GITEA_RELEASE_VERSION }}
|
|
||||||
version_calculate: ${{ vars.ACTION_VERSION_CALCULATE_VERSION }}
|
|
||||||
release_cleanup: ${{ vars.ACTION_RELEASE_CLEANUP_VERSION }}
|
|
||||||
|
|||||||
@@ -4,14 +4,14 @@ on:
|
|||||||
branches-ignore:
|
branches-ignore:
|
||||||
- master
|
- master
|
||||||
types: [opened, synchronize]
|
types: [opened, synchronize]
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
pull-requests: write
|
|
||||||
issues: write
|
|
||||||
jobs:
|
jobs:
|
||||||
ai-code-review:
|
ai-code-review:
|
||||||
name: Code Review
|
name: AI Code Review
|
||||||
runs-on: ubuntu
|
runs-on: ubuntu
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
pull-requests: write
|
||||||
|
issues: write
|
||||||
steps:
|
steps:
|
||||||
- name: Code Review
|
- name: AI 程式碼審查
|
||||||
uses: https://gitea.jsc.idv.tw/composite-actions/opencode-code-review@${{ vars.ACTION_AI_CODE_REVIEW_VERSION }}
|
uses: https://gitea.jsc.idv.tw/composite-actions/opencode-code-review@${{ vars.ACTION_AI_CODE_REVIEW_VERSION }}
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
name: 'AI Code Review'
|
name: 'AI Code Review'
|
||||||
description: 'AI Code Review'
|
description: 'AI 程式碼審查'
|
||||||
author: 'Jeffery'
|
author: 'Jeffery'
|
||||||
inputs:
|
inputs:
|
||||||
opencode_base_url:
|
opencode_base_url:
|
||||||
|
|||||||
+1
-1
@@ -3,4 +3,4 @@ set -e
|
|||||||
|
|
||||||
echo "🚀 AI Code Review Action 啟動"
|
echo "🚀 AI Code Review Action 啟動"
|
||||||
|
|
||||||
exec node /action/app/main.js
|
exec node /app/main.js
|
||||||
|
|||||||
Reference in New Issue
Block a user