Comments (4)
Hi @josephjthomas! Will double-check this and update you as soon as possible!
from github-action.
Hi @josephjthomas!
You need to add one more env
property, this is GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
, if that doesn't help, please share the output of the github action.
from github-action.
2021-11-17T10:13:16.8351729Z STARTING CROWDIN ACTION
2021-11-17T10:13:16.8352361Z UPLOAD SOURCES
2021-11-17T10:13:20.0830650Z ✔️ Fetching project info
2021-11-17T10:13:21.1244739Z ✔️ File 'lang.json'
2021-11-17T10:13:21.3351767Z DOWNLOAD TRANSLATIONS
2021-11-17T10:13:24.1996935Z ✔️ Fetching project info
2021-11-17T10:13:24.2045276Z ✔️ Building ZIP archive with the latest translations
2021-11-17T10:14:00.0977312Z ✔️ Building translation (100%)
2021-11-17T10:14:00.5848757Z ✔️ Downloading translations
2021-11-17T10:14:00.7150690Z ✔️ Extracting archive
2021-11-17T10:14:00.7409855Z ✔️ Extracted: 'main/src/main/resources/lang/en/lang.json'
2021-11-17T10:14:00.7617239Z ⚠️ Downloaded translations don't match the current project configuration. The translations for the following sources will be omitted (use --verbose to get the list of the omitted translations):
2021-11-17T10:14:00.7633292Z - master/main/src/main/resources/lang/lang.json (1)
2021-11-17T10:14:00.7634288Z - crowdin-translations/lang.json (1)
2021-11-17T10:14:01.0064265Z Post job cleanup.
It looks like it tries to place them in a folder called master. The default branch is "main" and the root folder is "main" too.
My crowdin.yml contains the following entries:
base_path: .
base_url: "https://ourdomain.crowdin.com/"
project_id_env: CROWDIN_PROJECT_ID
api_token_env: CROWDIN_PERSONAL_TOKEN
files:
- source: main/src/main/resources/lang/lang.json
translation: >-
main/src/main/resources/lang/%two_letters_code%/%original_file_name%
from github-action.
@josephjthomas to create pull request you need to set option push_translations: true
about Downloaded translations don't match the current project configuration.
maybe you have folder or branch master
in Crowdin project?
from github-action.
Related Issues (20)
- Add the `pull_request_url` output HOT 1
- Issue with new pull_request_url output HOT 7
- .env file at root of source branch breaks action HOT 3
- skip_untranslated_strings from config is not respected HOT 7
- invalid
- Output more PR metadata. HOT 2
- Use 'crowdin.bat'/'crowdin' directly on command-line or bash shell HOT 4
- Return a boolean value if any translations got changed HOT 1
- Crowdin GHA failed with pre-translate command HOT 1
- Use the GitHub CLI instead of making curl API requests HOT 1
- Workflow-Run (CI-Pipeline) not getting triggered for the Crowdin-PRs HOT 4
- .env file at root of source branch breaks action (still) HOT 5
- Permissions of translations after download are bad HOT 5
- It is unclear what permissions are needed for which actions HOT 4
- does upload_translations override translations, or just update new ones?
- Exit code 0 when a custom command fails HOT 1
- Where is downloaded translations? HOT 4
- Pull requests for translation downloads don't get created until push
- File upload failed HOT 4
- jq: error (at <stdin>:5): Cannot index string with string "head" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from github-action.