Compare commits

...

2 Commits

Author SHA1 Message Date
元凛
5457ae8d7c chore: update dist & changelog 2023-08-16 13:29:01 +08:00
Just Thomas Hiorth Misund
0071d48bea fix: assign assignees to the assignees field instead of body field (#163) 2023-08-16 13:24:08 +08:00
3 changed files with 8 additions and 2 deletions

View File

@@ -7,6 +7,12 @@
🛠 refactor 🛠 refactor
--> -->
## v3.5.2
`2023.08.16`
- 🐞 fix: return `issue-assignees` in the correct output field for `get-issue`. [#163](https://github.com/actions-cool/issues-helper/pull/163) [@misund](https://github.com/misund)
## v3.5.1 ## v3.5.1
`2023.07.27` `2023.07.27`

2
dist/index.js vendored
View File

@@ -16920,7 +16920,7 @@ function doGetIssue() {
const labelsString = labels.length ? labels.map(({ name }) => name).join(',') : ''; const labelsString = labels.length ? labels.map(({ name }) => name).join(',') : '';
core.setOutput('issue-labels', labelsString); core.setOutput('issue-labels', labelsString);
const assigneesString = assignees.length ? assignees.map(({ login }) => login).join(',') : ''; const assigneesString = assignees.length ? assignees.map(({ login }) => login).join(',') : '';
core.setOutput('issue-body', assigneesString); core.setOutput('issue-assignees', assigneesString);
}); });
} }
exports.doGetIssue = doGetIssue; exports.doGetIssue = doGetIssue;

View File

@@ -104,7 +104,7 @@ export async function doGetIssue() {
const labelsString = labels.length ? labels.map(({ name }) => name).join(',') : ''; const labelsString = labels.length ? labels.map(({ name }) => name).join(',') : '';
core.setOutput('issue-labels', labelsString); core.setOutput('issue-labels', labelsString);
const assigneesString = assignees.length ? assignees.map(({ login }) => login).join(',') : ''; const assigneesString = assignees.length ? assignees.map(({ login }) => login).join(',') : '';
core.setOutput('issue-body', assigneesString); core.setOutput('issue-assignees', assigneesString);
} }
export async function doLockIssue(issueNumber?: number) { export async function doLockIssue(issueNumber?: number) {