{"id":28919316,"url":"https://github.com/lingohub/upload-action","last_synced_at":"2026-05-20T07:32:33.709Z","repository":{"id":298931604,"uuid":"1001462661","full_name":"lingohub/upload-action","owner":"lingohub","description":"GitHub Action to upload text files to a Lingohub project.","archived":false,"fork":false,"pushed_at":"2025-07-22T13:53:39.000Z","size":707,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-25T11:31:47.211Z","etag":null,"topics":["ci","github-actions","i18n","lingohub","localization","translation"],"latest_commit_sha":null,"homepage":"https://lingohub.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lingohub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-13T12:25:54.000Z","updated_at":"2025-06-16T13:19:04.000Z","dependencies_parsed_at":"2025-06-13T17:42:25.944Z","dependency_job_id":"f3cd4205-df4f-4ace-92a3-be607b48f6d6","html_url":"https://github.com/lingohub/upload-action","commit_stats":null,"previous_names":["lingohub/upload-action"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/lingohub/upload-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lingohub%2Fupload-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lingohub%2Fupload-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lingohub%2Fupload-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lingohub%2Fupload-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lingohub","download_url":"https://codeload.github.com/lingohub/upload-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lingohub%2Fupload-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33250371,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-20T04:48:54.280Z","status":"ssl_error","status_checked_at":"2026-05-20T04:48:10.851Z","response_time":356,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ci","github-actions","i18n","lingohub","localization","translation"],"created_at":"2025-06-22T03:06:02.848Z","updated_at":"2026-05-20T07:32:33.695Z","avatar_url":"https://github.com/lingohub.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lingohub Upload Action\n\n[![GitHub Marketplace](https://img.shields.io/badge/Marketplace-Available-blue?logo=github)](https://github.com/marketplace/actions/upload-to-lingohub)\n[![License](https://img.shields.io/github/license/lingohub/upload-action?style=flat-square)](./LICENSE)\n\nThis GitHub Action uploads one or more source content files to your [Lingohub](https://lingohub.com) project for localization.  \nIt supports glob patterns, multiple files, and is designed for seamless integration into your CI/CD pipelines.\n\n\u003e **Recommended:** Upload only your source files (e.g. English originals).  \n\u003e It is possible to upload both source and target files, but we recommend uploading only source files for best results.\n\n## 🚀 Features\n\n- Supports glob patterns and multiple files (order is preserved as specified in the `files` input)\n- Uploads all files as a single zip archive to the Lingohub API, preserving original file paths\n- Automatic locale detection by Lingohub\n- Built for GitHub CI/CD pipelines\n\n---\n\n## 📦 Inputs\n\n| Name          | Required | Description                                                                                                                           |\n|---------------|----------|---------------------------------------------------------------------------------------------------------------------------------------|\n| `api_key`     | ✅ Yes   | Your Lingohub API key (use [repository secrets](https://docs.github.com/en/actions/security-guides/encrypted-secrets))                |\n| `project_id`  | ✅ Yes   | The Lingohub project ID (e.g., `pr_18JCETCbSz7e-40731`)                                                                              |\n| `files`       | ✅ Yes   | Paths or glob patterns to the file(s) you want to upload (e.g. `./locales/en.yml,./locales/email/*.yml`). The order of files is preserved. |\n\n---\n\n## 🛠 Usage\n\n**Basic Example (Automatic Locale Detection)**\n\n```yaml\nname: Upload to Lingohub\n\non:\n  push:\n    branches: [ main ]\n\njobs:\n  upload:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Upload to Lingohub\n        uses: lingohub/upload-action@v1\n        with:\n          api_key: ${{ secrets.LINGOHUB_API_KEY }}\n          project_id: pr_18JCETCbSz7e-40731\n          files: ./locales/en.yml,./locales/email/*.yml\n```\n\n### 📝 Locale Handling\nLocale is detected automatically by Lingohub. No need to specify a locale.\n\n### Source vs. Target Files\nRecommended: Upload only your source files (e.g., English originals).\nIt is possible to upload both source and target files by specifying multiple patterns in the files input. Lingohub will automatically detect the correct locale. However, the order of processing the files is important. For best results and to avoid confusion, upload only source files.\n\n## 📄 License\nApache-2.0 © lingohub GmbH\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flingohub%2Fupload-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flingohub%2Fupload-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flingohub%2Fupload-action/lists"}