Commit Graph

45 Commits

Author SHA1 Message Date
Naoki Oketani
f45ed00267 style(format): format code with Prettier 2025-05-05 13:37:57 +00:00
Naoki Oketani
3fa1b7654e feat: update references from v2 to v3 for release v3.0.0 2025-05-03 13:54:49 +00:00
Naoki Oketani
2564984eab refactor(testing): migrate from Jest to Vitest for testing framework 2025-05-02 14:03:34 +00:00
Naoki Oketani
f18f5f1a2f [skip ci] docs: update inputs description 2023-01-02 10:33:58 +09:00
Naoki Oketani
266765b31e [skip ci] docs: add missing inputs description 2023-01-02 10:33:54 +09:00
Naoki Oketani
adbeb47e8f [skip ci] docs: sort action inputs alphabetically 2023-01-02 10:33:49 +09:00
Naoki Oketani
7bba303221 docs: update actions/checkout 2022-12-10 22:22:40 +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
02cb9c4d3b fix CVE-2022-0235 (#108)
* npm audit fix

* npm run all

* 1.8.4

* update README and daily action to use v1.8.4
2022-01-25 12:30:57 +09:00
Naoki Oketani
8196a9cc90 Release v1.8.3 (#105)
* 1.8.3

* update README and daily action to use v1.8.3
2022-01-15 18:33:23 +09:00
Naoki Oketani
b58fe17512 Release v1.8.2 (#101)
* 1.8.2

* update README and daily action to use v1.8.2
2021-10-16 18:26:12 +09:00
Naoki Oketani
9d3f4c8708 Bump patch verstion to 1.8.1 2021-10-08 21:21:58 +09:00
Naoki Oketani
b279a61c36 Bump minor version to 1.8.0 2021-10-03 09:28:58 +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
Naoki Oketani
2d35348be4 chore: fix a broken link in README (#92)
* chore: fix a broken link in README

* chore: fix branch name
2021-10-02 21:51:01 +09:00
Naoki Oketani
cf7f895e0d Bump patch version to 1.7.4 2021-09-26 21:36:59 +09:00
Joshua Nelson
dc855337b2 Fix name of github_token parameter (#87)
It was correctly `github_token` in the code and examples, but it was shown as `token` in the docs.
2021-08-20 21:04:20 +09:00
Naoki Oketani
5d4cffea6d fix dependencies' vulnerabilities (#86)
* [fix] `npm audit fix`

* [fix] `npm update`

* [fix] update jest, jest-circus, ts-jest

* 1.7.3
2021-06-03 07:45:50 +09:00
Naoki Oketani
ddca8d247d docs: use 1.7.1 in the sample 2021-01-06 13:21:27 +09:00
Naoki Oketani
8a4cabf41a update version 2020-12-12 12:04:36 +00: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
Naoki Oketani
3868af0215 update README & npm run all 2020-11-12 10:45:24 +00: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
Naoki Oketani
86587558c6 use v1.5.2 2020-09-11 13:08:07 +00:00
Naoki Oketani
75b171622a v1.5.1 (#68)
* run `npm audit fix`

* run `npm run all`

* 1.5.1

* use v1.5.1
2020-07-14 19:14:55 +09:00
Naoki Oketani
f6ba9be9cf update example & daily scan to use v1.5.0 with dedupe_issues=true 2020-05-28 07:24:52 +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
94ec1a79c4 update README.md 2020-05-23 16:13:09 +09:00
Naoki Oketani
5209022168 support different working directory (#64)
* support different working directory

* validate working_directory
2020-05-23 15:59:51 +09:00
Naoki Oketani
49b1b8cc78 bump version to v1.3.1 2020-04-30 07:59:06 +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
3b7b95bf4a update npm-audit-action to v1.2.0 (#50) 2020-03-14 20:35:30 +09:00
Naoki Oketani
6c003b8ee4 update actions/checkout to v2 (#37) 2020-01-27 20:48:43 +09:00
Naoki Oketani
4894ae0aad Update README (#33) 2019-12-15 10:49:06 +09:00
Naoki Oketani
3e659c8c99 use GitHub context to branch processing (#22) 2019-12-13 12:18:28 +09:00
Naoki Oketani
2e5ad3c2cf Creates an issue even if inputs.issue_labels is not given (#21)
* Creates an issue even if inputs.issue_labels is not given

* 1.0.0

* Use v1.0.0 in example, daily scan
2019-12-09 22:49:41 +09:00
Naoki Oketani
4b8e261c55 Execute daily scan (#19)
* Update README.md

* run `npm audit` daily
2019-12-09 19:59:47 +09:00
Naoki Oketani
8b1b45628f Measure test coverage (#16)
* define npm run coverage

* Revert "define npm run coverage"

This reverts commit 32133d33412105d167226ac31c4f7875f85716ab.

* use coverallsapp/github-action@master

* Give --coverage option to npm test

* Add coveralls badge
2019-12-09 16:00:28 +09:00
Naoki Oketani
a4fb3cef7f Add image and example to README.md 2019-12-09 14:13:56 +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