Skip to content

jq: error (at <stdin>:5): Cannot index string with string "head" #241

@UladzimirVyaziginTR

Description

@UladzimirVyaziginTR

Describe the bug

  1. We are observing this issue during the attempt to create PR in GitHub via github-action.
  2. The custom branch with translation files was created successfully but PR is not created.
  3. Fine-grained PAT has write permission on the contents and pull-requests as it is described in https://github.com/crowdin/github-action?tab=readme-ov-file#permissions
  4. Similar issues has been raised a lot of time ago but the thread does not contain anything valuable inside Crowdin Action does not create PR and fails with error: jq: error (at <stdin>:4): Cannot index string with string "head" #67

To Reproduce
Steps to reproduce the behavior:

  1. Set up a workflow in .github/workflows/crowdin.yml as it is described in https://github.com/crowdin/github-action?tab=readme-ov-file#usage
  2. crowdin init

Expected behavior
PR is created.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions