Skip to content

Bash throws syntax error if inputs.token contains a newline character #1694

@CarlosNihelton

Description

@CarlosNihelton

095cfe0#r149353612

With quotes around ${{ inputs.token }} a newline shouldn't be a problem for bash as it would be seen as part of the argument string, giving tr a chance to strip it.

The screenshot below shows the error I'm seeing.

Image

Metadata

Metadata

Labels

Area: Report UploadIssues with pre-ingest report uploadingMediumMedium Priority Issues (to be fixed or re-evaluated in 3 monthsbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions