-
Notifications
You must be signed in to change notification settings - Fork 65
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Pull request does not get created when the crowdin executed is executed.
The script fails with error:
jq: error (at <stdin>:4): Cannot index string with string "head"
To Reproduce
- I previously had github integration enabled for the same project. I just tried to switch to using the action.
- I have the action added here: https://github.com/sumitahluwalia/crowdin/blob/main/.github/workflows/main.yml
- You can see my action executed here: https://github.com/sumitahluwalia/crowdin/runs/2417311249
- crowdin.yml file: https://github.com/sumitahluwalia/crowdin/blob/main/crowdin.yml
Expected behavior
The PR request should be created.
Additional context
STARTING CROWDIN ACTION
UPLOAD SOURCES
✔️ Fetching project info
✔️ File 'FileToTranslate.json'
UPLOAD TRANSLATIONS
✔️ Fetching project info
✔️ Translation file 'Translations/fr.json' has been uploaded
✔️ Translation file 'Translations/en.json' has been uploaded
DOWNLOAD TRANSLATIONS
✔️ Fetching project info
✔️ Building ZIP archive with the latest translations
✔️ Building translation (100%)
✔️ Downloading translation
✔️ Extracted: 'Translations/en.json'
✔️ Extracted: 'Translations/fr.json'
CONFIGURATION GIT USER
Already on 'main'
M Translations/en.json
M Translations/fr.json
Your branch is up to date with 'origin/main'.
Switched to a new branch 'l10n_crowdin_action'
PUSH TO BRANCH l10n_crowdin_action
[l10n_crowdin_action d62d3e9] New Crowdin translations by Github Action
2 files changed, 12 insertions(+), 20 deletions(-)
To https://github.com/sumitahluwalia/crowdin.git
+ 6355e60...d62d3e9 l10n_crowdin_action -> l10n_crowdin_action (forced update)
CHECK IF ISSET SAME PULL REQUEST
jq: error (at <stdin>:4): Cannot index string with string "head"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working