github-release-resource icon indicating copy to clipboard operation
github-release-resource copied to clipboard

`get` fails: grpc string contains invalid UTF-8 character

Open braunsonm opened this issue 1 year ago • 0 comments

Describe the bug

I'm trying to use this resource to get a Github Release which I think contains a UTF-8 character (right-arrow)

The error I get during the get is:

set label: grpc: error while marshaling: string field contains invalid UTF-8: unknown

The configuration of the github release module is:

  - name: knative-operator
    type: github-release
    icon: github
    check_every: 24h
    source:
      owner: knative
      repository: operator
      access_token: ((github_access_token))

...

- get: knative-operator
  trigger: true
  params:
    globs:
      - knative-operator-*.tgz

Reproduction steps

  1. Create a pipeline as described above
  2. Run it
  3. See the error in the get step

Expected behavior

The get operation should complete successfully. Or a way to disable the body label.

Additional context

I think this might be coming from the Github Release body containing an arrow. The release in question is here: https://github.com/knative/operator/releases/tag/knative-v1.13.0

braunsonm avatar Jan 31 '24 18:01 braunsonm