Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active
TypeScript aianthropicartifactsawsazurechatgptchatgpt-cloneclaudeclonedeepseekgeminigooglegpt-5librechatmcpo1openairesponses-apivisionwebui
🤖 ci: locize-pull-published-sync-pr.yml (#5762)
Ruben Talstra96f1133f0d49
diff --git a/.github/workflows/locize-pull-published-sync-pr.yml b/.github/workflows/locize-pull-published-sync-pr.ymlindex 703d0ccd94..557266eed9 100644--- a/.github/workflows/locize-pull-published-sync-pr.yml+++ b/.github/workflows/locize-pull-published-sync-pr.yml@@ -1,53 +1,50 @@-name: Locize Version Published Workflow+name: Create Translation PR on Version Publishedon:+# testing+ pull_request:+ branches:+ - mainpush:branches: [main]repository_dispatch:types: [locize/versionPublished]jobs:- locize_update:- name: Process Locize Version Published Event+ createPullRequest:+ name: Create Translation PR on Version Publishedruns-on: ubuntu-latestpermissions:contents: writepull-requests: write+steps:+ # 1. Check out the repository.- name: Checkout Repositoryuses: actions/checkout@v4- - name: Display Dispatch Payload- run: |- echo "Received Version: ${{ github.event.client_payload.payload.version }}"- echo "Full Payload: ${{ toJson(github.event.client_payload) }}"+ # 2. Download translation files from locize.- name: Download Translations from locizeuses: locize/download@v1with:project-id: ${{ secrets.LOCIZE_PROJECT_ID }}- version: ${{ github.event.client_payload.payload.version }}path: "client/src/locales"- path-mask: "{{language}}/{{namespace}}"- clean: true # Ensures old translation files are removed before downloading new ones+ # 3. Create a Pull Request using built-in functionality.- name: Create Pull Request- id: create_pr- uses: peter-evans/[email protected]+ uses: peter-evans/create-pull-request@v7with:token: ${{ secrets.GITHUB_TOKEN }}- commit-message: "chore: update translations from locize"- branch: locize-update-${{ github.event.client_payload.payload.version }}- delete-branch: true- title: "chore: update translations from locize"+ sign-commits: true+ commit-message: "🌍 i18n: Update translation.json with latest translations"+ base: main+ branch: i18n/locize-translation-update+ reviewers: danny-avila+ title: "🌍 i18n: Update translation.json with latest translations"body: |- This PR updates translations from locize.- - Version: `${{ github.event.client_payload.payload.version }}`- - Automated update from GitHub Actions- labels: "translations, automated"- draft: false-- - name: Check PR Outputs- if: steps.create_pr.outputs.pull-request-number- run: |- echo "Pull Request Number - ${{ steps.create_pr.outputs.pull-request-number }}"- echo "Pull Request URL - ${{ steps.create_pr.outputs.pull-request-url }}"\ No newline at end of file+ **Description**:+ - 🎯 **Objective**: Update `translation.json` with the latest translations from locize.+ - 🔍 **Details**: This PR is automatically generated upon receiving a versionPublished event with version "latest". It reflects the newest translations provided by locize.+ - ✅ **Status**: Ready for review.+ labels: |+ 🌍 i18n\ No newline at end of file