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
This commit is contained in:
Naoki Oketani
2019-12-09 08:51:14 +09:00
committed by GitHub
parent 2167fa39e5
commit 02e2cee4ed
7 changed files with 326 additions and 50 deletions

4
@types/octokit/index.d.ts vendored Normal file
View File

@@ -0,0 +1,4 @@
declare module '@octokit/graphql' {
export type Variables = any
export type GraphQlQueryResponse = any
}