From 03d082d0f3f074fa210f9ec658a09b88aeaa923c Mon Sep 17 00:00:00 2001 From: Jeffery Date: Mon, 29 Jun 2026 14:09:23 +0800 Subject: [PATCH] =?UTF-8?q?refactor(codex):=20=E7=A7=BB=E9=99=A4=20action?= =?UTF-8?q?=20=E5=85=A7=E7=99=BB=E5=85=A5=E5=B8=B3=E8=99=9F=E9=A9=97?= =?UTF-8?q?=E8=AD=89=EF=BC=8C=E6=94=B9=E7=94=B1=E5=91=BC=E5=8F=AB=E7=AB=AF?= =?UTF-8?q?=E6=AA=A2=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- action.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/action.yml b/action.yml index f09fc6d..4a2de65 100644 --- a/action.yml +++ b/action.yml @@ -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