Skip to content

Commit 06f2b05

Browse files
authored
fix:update label output to use label names (#1474)
1 parent a7bf35d commit 06f2b05

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/triage-agent.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ jobs:
4646
core.setOutput('user', String((issue.user && issue.user.login) || ''));
4747
core.setOutput('title', String(issue.title || ''));
4848
core.setOutput('body', String(issue.body || ''));
49-
core.setOutput('labels', JSON.stringify(issue.labels || []));
49+
const labelNames = (issue.labels || []).map(label => label.name);
50+
core.setOutput('labels', JSON.stringify(labelNames));
5051
5152
- name: Call Azure Function
5253
id: call_azure_function

0 commit comments

Comments
 (0)