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
2019-12-08 19:17:13 +09:00
2019-12-08 19:17:13 +09:00
2019-12-08 22:10:35 +09:00
2019-12-08 19:17:13 +09:00
2019-12-08 19:17:13 +09:00
2019-12-08 19:17:13 +09:00
2019-12-08 19:17:13 +09:00
2019-12-08 19:17:13 +09:00
2019-12-08 19:17:13 +09:00
2019-12-08 22:10:35 +09:00
2019-12-08 19:17:13 +09:00

npm audit action

GitHub Action to run npm audit

Usage

Inputs

Parameter Required Default Value Description
issue_title false npm audit found vulnerabilities Issue title
token true N/A GitHub Access Token.
${{ secrets.GITHUB_TOKEN }} is recommended.
Description
A scuffed port of npm-audit-action to Gitea-js
Readme MIT 6.1 MiB
Languages
TypeScript 91.9%
JavaScript 8.1%