mirror of
https://gitea.com/Lydanne/issues-helper.git
synced 2025-10-13 23:33:51 +08:00
feat: add assignees to find-issues (#192)
* feat: add assignees to find-issues * docs: update
This commit is contained in:
@@ -975,8 +975,8 @@ Find the current repository, the creator is k , the title contains `this` , the
|
|||||||
|
|
||||||
```js
|
```js
|
||||||
[
|
[
|
||||||
{number: 1, auth: 'x', body: 'xxx', body: 'xxx', state: 'open', created: '', updated: ''},
|
{number: 1, auth: 'x', body: 'xxx', body: 'xxx', state: 'open', assignees: ['x1', 'x2'], created: '', updated: ''},
|
||||||
{number: 2, auth: 'x', body: 'xxx', body: 'xxx', state: 'closed', created: '', updated: ''},
|
{number: 2, auth: 'x', body: 'xxx', body: 'xxx', state: 'closed', assignees: ['x1', 'x2'], created: '', updated: ''},
|
||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@@ -977,8 +977,8 @@ jobs:
|
|||||||
|
|
||||||
```js
|
```js
|
||||||
[
|
[
|
||||||
{number: 1, auth: 'x', body: 'xxx', body: 'xxx', state: 'open', created: '', updated: ''},
|
{number: 1, auth: 'x', body: 'xxx', body: 'xxx', state: 'open', assignees: ['x1', 'x2'], created: '', updated: ''},
|
||||||
{number: 2, auth: 'x', body: 'xxx', body: 'xxx', state: 'closed', created: '', updated: ''},
|
{number: 2, auth: 'x', body: 'xxx', body: 'xxx', state: 'closed', assignees: ['x1', 'x2'], created: '', updated: ''},
|
||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
1
dist/index.js
vendored
1
dist/index.js
vendored
@@ -16599,6 +16599,7 @@ function doFindIssues() {
|
|||||||
title: issue.title,
|
title: issue.title,
|
||||||
body: issue.body,
|
body: issue.body,
|
||||||
state: issue.state,
|
state: issue.state,
|
||||||
|
assignees: issue.assignees.map(val => val.login),
|
||||||
created: issue.created_at,
|
created: issue.created_at,
|
||||||
updated: issue.updated_at,
|
updated: issue.updated_at,
|
||||||
};
|
};
|
||||||
|
@@ -272,6 +272,7 @@ export async function doFindIssues() {
|
|||||||
title: issue.title,
|
title: issue.title,
|
||||||
body: issue.body,
|
body: issue.body,
|
||||||
state: issue.state,
|
state: issue.state,
|
||||||
|
assignees: issue.assignees.map(val => val.login),
|
||||||
created: issue.created_at,
|
created: issue.created_at,
|
||||||
updated: issue.updated_at,
|
updated: issue.updated_at,
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user