Socket
Book a DemoInstallSign in
Socket

@moneyforward/code-review-action

Package Overview
Dependencies
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@moneyforward/code-review-action

Analyze code statically in Github actions

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
3
Created
Source

Code review action

Analyze code statically in Github actions

Inputs

analyzer

Specify the analyzer plugin

... and more

options

Changes the analyzer options.

Specify the options in JSON format.

files

Specify files or directories

(Multiple files or directories can be specified by separating them with line feed)

working_directory

Changes the current working directory of the Node.js process

reporter_type_notation

Change the reporter.

(Multiple can be specified separated by commas)

Example usage

name: Analyze code statically
"on": pull_request
jobs:
  brakeman:
    runs-on: ubuntu-latest
    env:
      ANALYZER: '@moneyforward/code-review-action-brakeman-plugin'
      ANALYZER_VERSION: '~0'
    steps:
      - uses: actions/checkout@v2
      - run: sudo npm i -g --no-save "${ANALYZER}@${ANALYZER_VERSION}"
      - id: node-env
        run: echo "::set-output name=path::$(npm root -g)"
      - name: Analyze code statically
        uses: moneyforward/code-review-action@v0
        env:
          NODE_PATH: ${{ steps.node-env.outputs.path }}
        with:
          analyzer: ${{ env.ANALYZER }}

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/moneyforward/code-review-action

License

The gem is available as open source under the terms of the MIT License.

Keywords

github

FAQs

Package last updated on 21 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts