From 0c8b0ad511aac6c1befbe7682022e1c030dbe002 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Mon, 29 Jun 2026 06:11:06 +0000 Subject: [PATCH] fix(ci): add output check to validate response against expected email --- .gitea/workflows/ci.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index d8d33d5..5c8b55f 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -30,3 +30,6 @@ jobs: with: oauth: ${{ secrets.CODEX_OAUTH }} prompt: "請自我介紹" + - name: 檢查輸出 + if: ${{ steps.codex.outputs.text != vars.CODEX_EMAIL }} + run: exit 1