Skip to content

Commit 3190061

Browse files
committed
some fixes
1 parent 1628b73 commit 3190061

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/actions/triage-labels/process-prompt-template.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ try {
3434
$outputContent = @()
3535

3636
foreach ($line in $lines) {
37-
$line = $line
38-
.Replace('{{LABEL_PREFIX}}', $LabelPrefix)
37+
# Replace the placeholders with actual values
38+
$line = $line.Replace('{{LABEL_PREFIX}}', $LabelPrefix)
3939

4040
# Check for EXEC: command prefix
4141
if ($line -match "^EXEC:\s*(.+)$") {

.github/actions/triage-labels/system-prompt-template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ and accurately assign labels to new issues that are opened.
2222
used in order to find the best match.
2323

2424
===== Available Labels ====
25-
EXEC: gh label list --limit 1000 --json name,description --search "{{LABEL_PREFIX}}" --jq 'sort_by(.name)[] | select(.name | startswith("{{LABEL_PREFIX}}")) | "- name: \(.name)\n description: \(.description)"
25+
EXEC: gh label list --limit 1000 --json name,description --search "{{LABEL_PREFIX}}" --jq 'sort_by(.name)[] | select(.name | startswith("{{LABEL_PREFIX}}")) | "- name: \(.name)\n description: \(.description)"'
2626
===== Available Labels ====
2727

2828
**Reasoning**

0 commit comments

Comments
 (0)