Compare commits

..

6 Commits

Author SHA1 Message Date
元凛
a610082f8a docs: update changelog 2024-02-18 14:19:14 +08:00
xrkffgg
556cc4f66e feat: add assignees to find-issues (#192)
* feat: add assignees to find-issues

* docs: update
2024-02-18 14:15:52 +08:00
buffcode
e0e6d4a469 docs: document default issue filtering (#191) 2024-02-18 13:52:38 +08:00
Daniel Compton
fac636e8a9 chore: Bump runtime to node20 (#190) 2024-02-18 13:51:26 +08:00
xrkffgg
a0d1612783 chore: Update ci.yml 2024-02-18 13:50:22 +08:00
49a9184d18 chore: pins types-ramda to 0.29.4 (#185)
ref: https://github.com/ramda/ramda/issues/3415
2023-10-24 10:13:31 +08:00
9 changed files with 27946 additions and 7 deletions

View File

@@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
node-version: [20.x]
steps:
- name: checkout
uses: actions/checkout@main

View File

@@ -7,6 +7,13 @@
🛠 refactor
-->
## v3.6.0
`2024.02.18`
- 🚀 feat: add assignees to find-issues. [#192](https://github.com/actions-cool/issues-helper/pull/192)
- 💄 chore: Bump runtime to node20. [#190](https://github.com/actions-cool/issues-helper/pull/190) [@danielcompton](https://github.com/danielcompton)
## v3.5.2
`2023.08.16`

View File

@@ -975,11 +975,12 @@ Find the current repository, the creator is k , the title contains `this` , the
```js
[
{number: 1, auth: 'x', body: 'xxx', body: 'xxx', state: 'open', created: '', updated: ''},
{number: 2, auth: 'x', body: 'xxx', body: 'xxx', state: 'closed', 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', assignees: ['x1', 'x2'], created: '', updated: ''},
]
```
- `issue-state`: The default is `open`. Other values are: `closed`, `all`
- `direction` defaults to ascending order, only when `desc` is set, descending order will be returned
- The `created` `updated` in the returned array, determined by the environment, will be UTC +0
- `exclude-labels`: When set to include `$exclude-empty`, no label issue can be excluded

View File

@@ -977,8 +977,8 @@ jobs:
```js
[
{number: 1, auth: 'x', body: 'xxx', body: 'xxx', state: 'open', created: '', updated: ''},
{number: 2, auth: 'x', body: 'xxx', body: 'xxx', state: 'closed', 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', assignees: ['x1', 'x2'], created: '', updated: ''},
]
```

View File

@@ -119,5 +119,5 @@ outputs:
description: 'Check issue'
runs:
using: node16
using: node20
main: 'dist/index.js'

1
dist/index.js vendored
View File

@@ -16599,6 +16599,7 @@ function doFindIssues() {
title: issue.title,
body: issue.body,
state: issue.state,
assignees: issue.assignees.map(val => val.login),
created: issue.created_at,
updated: issue.updated_at,
};

View File

@@ -60,5 +60,8 @@
"prettier": "^2.2.1",
"simple-git": "^2.46.0",
"typescript": "^4.1.3"
},
"resolutions": {
"types-ramda": "0.29.4"
}
}
}

View File

@@ -272,6 +272,7 @@ export async function doFindIssues() {
title: issue.title,
body: issue.body,
state: issue.state,
assignees: issue.assignees.map(val => val.login),
created: issue.created_at,
updated: issue.updated_at,
};

27926
yarn.lock Normal file

File diff suppressed because it is too large Load Diff