File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ Your task is translate `README.md` into several languages. The translation shoul
22Target languages: Chinese (zh-cn), Chinese (zh-tw), Japanese (ja-JP)
33Use the following format for each translation: `README.{language_code}-{country_code}.md`
44Rules:
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
Original file line number Diff line number Diff 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 }}
You can’t perform that action at this time.
0 commit comments