Skip to content

Emojis in workflow names cause uploads to 500 #523

@andrewh-sportsbet

Description

@andrewh-sportsbet

Is there an existing issue for this?

  • I have searched the existing issues

Are you using the latest sbom-action version available?

  • I am using the latest sbom-action version.

  • I can reproduce the issue running sbom-action using complete version identifier (example: vX.Y.Z), and not just with a partial one (example: vX)

  • I am using the anchore/sbom-action action.

Are you resonably sure that it's a sbom-action issue, and not an issue related to a tool that sbom-action runs?

  • I think that this is a sbom-action issue.

Current Behavior

github API returns a 500 when the correlator name contains an emjoi - this is coming from the workflow name.

Expected Behavior

strip emojis before submitting

sbom-action version

Relevant log output

correlator is my-app 🔨_build_something-something
Uploading GitHub dependency snapshot from /tmp/sbom-action-xxx/github.sbom.json
Warning: Error uploading depdendency snapshot: {
  "name": "HttpError",
  "status": 500,
  "request": {
    "method": "POST",

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions