docs(codex): 補齊 function docstring 與指令檔註解並重建 README #4

Merged
admin merged 18 commits from develop into master 2026-06-29 07:09:22 +00:00
Showing only changes of commit 03d082d0f3 - Show all commits
-8
View File
@@ -36,17 +36,12 @@ runs:
id: codex
env:
MODEL: ${{ vars.CODEX_MODEL }}
EXPECTED_EMAIL: ${{ vars.CODEX_EMAIL }}
PROMPT: ${{ inputs.prompt }}
run: |
if [ -z "$MODEL" ]; then
echo 'CODEX_MODEL repository variable is required.' >&2
exit 1
fi
if [ -z "$EXPECTED_EMAIL" ]; then
echo 'CODEX_EMAIL repository variable is required.' >&2
exit 1
fi
if [ -z "$PROMPT" ]; then
email="$(python3 "$GITHUB_ACTION_PATH/app/codex_account.py")"
echo "text=$email" >> "$GITHUB_OUTPUT"
@@ -60,6 +55,3 @@ runs:
echo 'CODEX_OUTPUT'
} >> "$GITHUB_OUTPUT"
shell: bash
- name: 檢查輸出
if: ${{ steps.codex.outputs.text != vars.ANTIGRAVITY_EMAIL }}
run: exit 1