Skip to content

Commit 386ebcf

Browse files
committed
chore: prepare Codex home directory and update API key parameter format
1 parent c29c057 commit 386ebcf

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/jira_codex_pr.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,10 +243,16 @@ jobs:
243243
git checkout -B "$BRANCH" "origin/$BASE_BRANCH"
244244
fi
245245
246+
- name: Prepare Codex home
247+
run: |
248+
set -euo pipefail
249+
mkdir -p "${RUNNER_TEMP}/codex-home"
250+
246251
- name: Run Codex to implement ticket
247252
uses: openai/codex-action@94bb7a052e529936e5260a35838e61b190855739 # v1
248253
with:
249-
openai_api_key: ${{ secrets.OPENAI_API_KEY }}
254+
openai-api-key: ${{ secrets.OPENAI_API_KEY }}
255+
codex-home: ${{ runner.temp }}/codex-home
250256
prompt: |
251257
You are implementing Jira ticket ${{ steps.jira.outputs.JIRA_KEY }} in this repository.
252258

0 commit comments

Comments
 (0)