temporalio / temporalio/api

[Bug] api-go update fails if the commit message contains "`"

Open
#421 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Go
Stars
133
Forks
101
Avg merge
1d 22h
Merged PRs (30d)
11

Description

What are you really trying to do?

When merging pull requests or committing to the repository, the workflow api-go update will fail if the commit message contains the "`" character.

Describe the bug

"Prepare inputs" fails.

In this case, the word "string" is encased in "`":

/home/runner/work/_temp/[omitted].sh: line 7: string: command not found

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the api-go update workflow and inspect the Prepare inputs step, reproducing the failure with a commit message containing a backtick. Done means the workflow completes successfully when commit messages contain backticks, without treating the enclosed text as a command.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, go, shell
Domain
ci-cd
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.