Package Exports
- @security-alert/create-issue
- @security-alert/create-issue/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@security-alert/create-issue) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@security-alert/create-issue
[GitHub] Create an issue from security alert's url.
Install
Install with npm:
npm install @security-alert/create-issue --global
# Install `security-alert-create-issue` commandUsing with npx:
npx @security-alert/create-issueUsage
Usage
$ npx @security-alert/create-issue <github-security-alert-url>
Inputs
<github-security-alert-url> GitHub Security Alert URL(open|closed)
Options
--dryRun Dry-Run when it is enabled
--token GitHub Token, or support environment variables - GITHUB_TOKEN=xxx
--assignees assignee user name. names are separated ,
--labels label name. labels are separated ,
Examples
$ GITHUB_TOKEN=xxx npx @security-alert/create-issue "https://github.com/security-alert/github-webhook-SecurityVulnerability-test/network/alert/package-lock.json/axios/open"
$ GITHUB_TOKEN=xxx npx @security-alert/create-issue "https://github.com/security-alert/github-webhook-SecurityVulnerability-test/network/alert/package-lock.json/axios/open" --labels "security,package"Example Issue
Changelog
See Releases page.
Running tests
Install devDependencies and Run npm test:
npm testContributing
Pull requests and stars are always welcome.
For bugs and feature requests, please create an issue.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
Author
License
MIT © azu