Skip to content

Commit a20c099

Browse files
committed
fix
1 parent d5e91d5 commit a20c099

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.codex/prompts/readme-translation.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Your task is translate `README.md` into several languages. The translation shoul
22
Target languages: Chinese (zh-cn), Chinese (zh-tw), Japanese (ja-JP)
33
Use the following format for each translation: `README.{language_code}-{country_code}.md`
44
Rules:
5-
- Clone the repository from https://github.com/go-gitea/gitea and create a new branch for your work
65
- If a translation file already exists, only update the changes
76
- If a translation file does not exist, create a new one and add the link in `README.md` and each translated readme file
87
- Do not modify the original `README.md` file
8+
- git commit to current branch and push to remote

.github/workflows/pull-compliance.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,10 @@ jobs:
200200
if: needs.files-changed.outputs.readme == 'true'
201201
needs: files-changed
202202
runs-on: ubuntu-latest
203-
env:
204-
OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
205203
steps:
206204
- uses: actions/checkout@v4
207205
- run: |
208206
npm install -g @openai/codex
209-
codex exec --full-auto -c model="gpt-5-codex" -c model_providers.openai.base_url="${{ secrets.OPENAI_BASE_URL }}" -c model_providers.openai.env_key="OPENAI_API_KEY" "$(cat ./.codex/prompts/readme-translation.txt)"
207+
codex exec --full-auto -c shell_environment_policy.ignore_default_excludes="true" -c model="gpt-5-codex" -c model_provider="gitea_openai" -c model_providers.gitea_openai.name="gitea_openai" -c model_providers.gitea_openai.base_url="${{ secrets.OPENAI_BASE_URL }}" -c model_providers.gitea_openai.env_key="OPENAI_API_KEY" -c model_providers.gitea_openai.wire_api="responses" "$(cat ./.codex/prompts/readme-translation.txt)"
208+
env:
209+
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}

0 commit comments

Comments
 (0)