fix(ci): add output check to validate response against expected email
This commit is contained in:
@@ -30,3 +30,6 @@ jobs:
|
||||
with:
|
||||
oauth: ${{ secrets.CODEX_OAUTH }}
|
||||
prompt: "請自我介紹"
|
||||
- name: 檢查輸出
|
||||
if: ${{ steps.codex.outputs.text != vars.CODEX_EMAIL }}
|
||||
run: exit 1
|
||||
|
||||
Reference in New Issue
Block a user