Commit Graph

19 Commits

Author SHA1 Message Date
Naoki Oketani
414f093a36 Update to Node.js 20 compatibility 2025-05-01 12:05:25 +00:00
Naoki Oketani
377734b9d6 docs: fix an error 2023-01-02 10:48:55 +09:00
Naoki Oketani
f18f5f1a2f [skip ci] docs: update inputs description 2023-01-02 10:33:58 +09:00
Naoki Oketani
adbeb47e8f [skip ci] docs: sort action inputs alphabetically 2023-01-02 10:33:49 +09:00
William Barnes
5b91df5581 updating production flag to --omit=dev (#125)
* updating production flag to --omit=dev

* fixing readme comment
2022-07-09 18:08:36 +09:00
Naoki Oketani
e3662da326 Update default runtime to node16 (#118)
* Update default runtime to node16

* update dependencies

* 2.0.0
2022-03-26 15:31:24 +09:00
Naoki Oketani
47dbb726b6 feature: support create_issues, create_pr_comments flag (#93)
* doc: support new parameter create_issues, create_pr_comments

* feature: support create_pr_comments flag

* feature: support create_issues flag
2021-10-03 09:26:16 +09:00
sgkiokas
c4cd169835 feat: add the ability to run with '--json' and output the result (#78)
* addition-of-json-flag

* Set output of npn audit
2020-12-12 20:56:05 +09:00
sgkiokas
42e6d27a29 feat: add the ability to run with '--production' (#75)
* feat: add the ability to run with '--production'

Adding the config options to run npm audit with the --production flag.

Contributes to: #74

Signed-off-by: Stelios Gkiokas <s_giokas@hotmail.com>

* fix: add tests

Adding the relevant tests for the new production flag.

Contributes to: #74

Signed-off-by: Stelios Gkiokas <s_giokas@hotmail.com>
2020-11-12 19:33:56 +09:00
Spencer Small
261cbab716 Support de-duping issues (#65)
* De-dupe against open issues when dedupe_issues = true

* Update README

* Fix compile errors

* Add unit tests for issue.ts
2020-05-28 07:18:45 +09:00
Naoki Oketani
1c3165e2f5 update action.yml to support working_directory 2020-05-23 16:26:33 +09:00
Naoki Oketani
ad3449ef9c filter vulnerabilities by audit_level (#55)
* filter vulnerabilities by audit_level

* update README.md

* fix test cases

* restrict audit_level value

* update dist/index.js
2020-03-21 07:08:53 +09:00
Naoki Oketani
3e659c8c99 use GitHub context to branch processing (#22) 2019-12-13 12:18:28 +09:00
Naoki Oketani
ac19a7500b set branding (#23)
* echo $GITHUB_CONTEXT

* set branding
2019-12-10 18:48:15 +09:00
Naoki Oketani
14d92785e4 Set Issue labels by inputs & add unit test (#12)
* Set Issue labels by inputs

* Add unit test
2019-12-09 12:43:13 +09:00
Naoki Oketani
9931b4d0d0 Set Issue assignees by inputs (#10)
* Set Issue assignees by inputs

* remove unused file

* Revert "remove unused file"

This reverts commit f308fad240706376cf21c6df7490b84c66ef1905.

* npm run all

* add heading to README

* create issue templates
2019-12-09 09:41:29 +09:00
Naoki Oketani
02e2cee4ed Open a GitHub Issue if vulnerabilities are found (#8)
* Get GitHub access token from input

* install npm package

* fix TypeScript error to successfully build

ref: https://github.com/actions/toolkit/issues/199

* npm i strip-ansi to remove control characters

* create an issue

* use template literal to pass lint

* npm run format; npm run lint

* use inputs.issue_title as issue title

* document inputs.issue_title

* add inputs.issue_title
2019-12-09 08:51:14 +09:00
Naoki Oketani
2167fa39e5 setup repo & run npm audit (#1) 2019-12-08 22:10:35 +09:00
Naoki Oketani
284541286f Initial commit 2019-12-08 19:17:13 +09:00