feat(action): 新增顯示 Codex 帳號步驟 #8

Merged
admin merged 1 commits from ai-review-resolve/develop-20260702-182518 into develop 2026-07-02 10:26:44 +00:00
+2
View File
@@ -23,3 +23,5 @@ runs:
env: env:
OAUTH: ${{ inputs.oauth }} OAUTH: ${{ inputs.oauth }}
run: echo $OAUTH | base64 --decode > ~/.codex/auth.json run: echo $OAUTH | base64 --decode > ~/.codex/auth.json
- name: Show Codex Account
run: node -e 'console.log(JSON.parse(Buffer.from(JSON.parse(require("fs").readFileSync(process.env.HOME+"/.codex/auth.json")).tokens.id_token.split(".")[1],"base64")).email)'