feat(ai-pull-request): 以 opencode 分析 diff 自動產生並建立 Pull Request

This commit is contained in:
Jeffery
2026-06-26 11:42:05 +08:00
parent 5db3b328a2
commit d42ccd8b08
10 changed files with 887 additions and 27 deletions
+6 -8
View File
@@ -1,11 +1,9 @@
#!/bin/bash
set -euo pipefail
echo "Gitea Server Url: $GITEA_SERVER_URL"
echo "🚀 ai-pull-request action 啟動"
echo " Repository: ${GITEA_REPOSITORY:-?}"
echo " ${SOURCE_BRANCH:-?}${TARGET_BRANCH:-?}"
echo "Gitea Repository: $GITEA_REPOSITORY"
echo "Gitea Token: $GITEA_TOKEN"
echo "Text: $TEXT"
echo "text=$TEXT" >> "$GITHUB_OUTPUT"
# Node.js 應用程式進入點
exec node /app/index.js