From df2b2759f348894ccf85efa3381dabe4af8b419f Mon Sep 17 00:00:00 2001 From: Jeffery Date: Wed, 1 Jul 2026 15:11:10 +0800 Subject: [PATCH 1/6] =?UTF-8?q?chore(ci):=20Execute=20=E9=9A=8E=E6=AE=B5?= =?UTF-8?q?=E5=91=BC=E5=8F=AB=20codex=20=E8=87=AA=E6=88=91=E4=BB=8B?= =?UTF-8?q?=E7=B4=B9=E4=B8=A6=E8=BC=B8=E5=87=BA=E8=87=B3=20message?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 78b70a9..02ac9ef 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -9,7 +9,7 @@ jobs: name: 1. BUILD runs-on: ubuntu outputs: - message: ${{ steps.build.outputs.message }} + message: ${{ steps.execute.outputs.message }} steps: - name: Source Code checkout uses: actions/checkout@${{ vars.ACTION_CHECKOUT_VERSION }} @@ -17,7 +17,14 @@ jobs: uses: ./ - name: Execute id: execute - run: echo "do something..." + shell: bash + run: | + MESSAGE=$(codex exec "請你進行自我介紹" 2>/dev/null) + { + echo "message<> "$GITHUB_OUTPUT" test: name: 2. TEST runs-on: ubuntu -- 2.53.0 From 480ae5c83c82608dba6604a6de3397f71ba6a2ab Mon Sep 17 00:00:00 2001 From: Jeffery Date: Wed, 1 Jul 2026 15:20:21 +0800 Subject: [PATCH 2/6] =?UTF-8?q?chore(ci):=20Build=20=E6=AD=A5=E9=A9=9F?= =?UTF-8?q?=E5=82=B3=E5=85=A5=20CODEX=5FOAUTH=20secret=20=E4=BE=9B=20codex?= =?UTF-8?q?=20=E7=99=BB=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 02ac9ef..49c6f93 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -15,6 +15,8 @@ jobs: uses: actions/checkout@${{ vars.ACTION_CHECKOUT_VERSION }} - name: Build uses: ./ + with: + oauth: ${{ secrets.CODEX_OAUTH }} - name: Execute id: execute shell: bash -- 2.53.0 From 2c8fdaf54fac7099da5005f0a38852ae742e4279 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Wed, 1 Jul 2026 16:38:01 +0800 Subject: [PATCH 3/6] =?UTF-8?q?chore(ci):=20Execute=20=E9=9A=8E=E6=AE=B5?= =?UTF-8?q?=E5=85=88=E8=BC=B8=E5=87=BA=20codex=20=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E8=99=9F=E5=86=8D=E5=9F=B7=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 49c6f93..0cbad8d 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -21,6 +21,7 @@ jobs: id: execute shell: bash run: | + codex --version MESSAGE=$(codex exec "請你進行自我介紹" 2>/dev/null) { echo "message< Date: Wed, 1 Jul 2026 16:40:45 +0800 Subject: [PATCH 4/6] =?UTF-8?q?fix(ci):=20Execute=20=E9=9A=8E=E6=AE=B5?= =?UTF-8?q?=E5=B0=87=20codex=20=E5=AE=89=E8=A3=9D=E8=B7=AF=E5=BE=91?= =?UTF-8?q?=E5=8A=A0=E5=85=A5=20PATH=20=E4=BF=AE=E6=AD=A3=20command=20not?= =?UTF-8?q?=20found?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 0cbad8d..862494f 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -21,6 +21,7 @@ jobs: id: execute shell: bash run: | + export PATH="$HOME/.local/bin:$PATH" codex --version MESSAGE=$(codex exec "請你進行自我介紹" 2>/dev/null) { -- 2.53.0 From 1d5d5d8a67b320cd0b63c2990bef17efb9e5449e Mon Sep 17 00:00:00 2001 From: Jeffery Date: Wed, 1 Jul 2026 16:45:13 +0800 Subject: [PATCH 5/6] =?UTF-8?q?fix(setup-codex):=20=E5=B0=87=20codex=20PAT?= =?UTF-8?q?H=20=E8=A8=AD=E5=AE=9A=E7=A7=BB=E8=87=B3=20action=20=E4=BB=A5?= =?UTF-8?q?=20GITHUB=5FPATH=20=E4=BE=9B=E5=BE=8C=E7=BA=8C=E6=AD=A5?= =?UTF-8?q?=E9=A9=9F=E4=BD=BF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci.yaml | 1 - action.yml | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 862494f..0cbad8d 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -21,7 +21,6 @@ jobs: id: execute shell: bash run: | - export PATH="$HOME/.local/bin:$PATH" codex --version MESSAGE=$(codex exec "請你進行自我介紹" 2>/dev/null) { diff --git a/action.yml b/action.yml index d4c2888..db9f8cf 100644 --- a/action.yml +++ b/action.yml @@ -15,7 +15,9 @@ runs: - name: Setup Codex env: CODEX_NON_INTERACTIVE: 1 - run: curl -fsSL https://chatgpt.com/codex/install.sh | sh + run: | + curl -fsSL https://chatgpt.com/codex/install.sh | sh + echo "$HOME/.local/bin" >> "$GITHUB_PATH" shell: bash - name: Login Codex with OAuth env: -- 2.53.0 From 0d27faf9164011dfd8e2c7f060d8781af6d7cf29 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Wed, 1 Jul 2026 16:47:09 +0800 Subject: [PATCH 6/6] =?UTF-8?q?chore(ci):=20Execute=20=E9=9A=8E=E6=AE=B5?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=20codex=20=E7=89=88=E6=9C=AC=E8=99=9F?= =?UTF-8?q?=E8=BC=B8=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 0cbad8d..49c6f93 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -21,7 +21,6 @@ jobs: id: execute shell: bash run: | - codex --version MESSAGE=$(codex exec "請你進行自我介紹" 2>/dev/null) { echo "message<