Skip to content

Commit

Permalink
Fix placeholder strings in prompt template modal (#419) (#420)
Browse files Browse the repository at this point in the history
(cherry picked from commit 2582b05)

Signed-off-by: Tyler Ohlsen <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent f3087b4 commit 7e39758
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,17 @@ jobs:
contents: write
pull-requests: write
name: Backport
# Only react to merged PRs for security reasons.
# See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target.
if: >
github.event.pull_request.merged
&& (
github.event.action == 'closed'
|| (
github.event.action == 'labeled'
&& contains(github.event.label.name, 'backport')
)
)
steps:
- name: GitHub App token
id: github_app_token
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,5 +297,5 @@ const columns = [
function getPlaceholderString(type: string, label: string) {
return type === 'array'
? `\$\{parameters.${label}.toString()\}`
: `\$\\{parameters.${label}\\}`;
: `\$\{parameters.${label}\}`;
}

0 comments on commit 7e39758

Please sign in to comment.