jq: error (at <stdin>:4): Cannot index string with string "head"
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"
Describe the bug
Pull request does not get created when the crowdin executed is executed.
The script fails with error:
To Reproduce
Expected behavior
The PR request should be created.
Additional context