1.1.0 • Published 5 years ago

create-security-alert-issue v1.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

create-security-alert-issue

GitHub Create an issue from security alert's url.

Install

Install with npm:

npm install create-security-alert-issue --global

Usage

    Usage
      $ create-security-alert-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 create-security-alert-issue "https://github.com/azu/github-webhook-SecurityVulnerability-test/network/alert/package-lock.json/axios/open"
      $ GITHUB_TOKEN=xxx create-security-alert-issue "https://github.com/azu/github-webhook-SecurityVulnerability-test/network/alert/package-lock.json/axios/open" --labels "security,package"

Changelog

See Releases page.

Running tests

Install devDependencies and Run npm test:

npm test

Contributing

Pull requests and stars are always welcome.

For bugs and feature requests, please create an issue.

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

License

MIT © azu