generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: actions/toolkit#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
- Loading branch information
Showing
7 changed files
with
326 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
declare module '@octokit/graphql' { | ||
export type Variables = any | ||
export type GraphQlQueryResponse = any | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
# 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.<br>${{ secrets.GITHUB_TOKEN }} is recommended.| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
describe('main', () => { | ||
test.todo('Add a test suite'); | ||
}); | ||
test.todo('Add a test suite') | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.