diff --git a/.github/workflows/translation-sync.yml b/.github/workflows/translation-sync.yml new file mode 100644 index 0000000..a8f2d1f --- /dev/null +++ b/.github/workflows/translation-sync.yml @@ -0,0 +1,33 @@ +# every time a PR is opened, add missing translations + +name: Translation Sync + +on: + pull_request: + +permissions: + contents: write + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Scan + run: | + curl https://openrouter.ai/api/v1/chat/completions \ + -H "Content-Type: application/json" \ + -H "Authorization: Bearer ${{ env.OPENROUTER_API_KEY }}" \ + -d '{ + "model": "openai/gpt-oss-120b", + "messages": [ + { + "role": "user", + "content": "How many r`s are in the word `strawberry?`" + } + ], + "reasoning": { + "enabled": true + } + }