seachicken / inga-action

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inga Action

GitHub Actions for Inga.

Inputs

Name Requirement Description
language required Languages to be analyzed. ("java" or "typescript")
root-path optional Relative path of the project to be analyzed, so if you do not give this option, it defaults to the command execute path.
exclude optional Filenames of glob pattern matching to exclude from analysis. (e.g. "**/*.test.(ts|tsx)")

Example

name: Inga Analysis

on:
  pull_request:

jobs:
  inga-analysis:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v3
      with:
        fetch-depth: 0
        # https://github.com/actions/checkout/issues/124
        ref: ${{ github.event.pull_request.head.ref }}
    - uses: seachicken/inga-action@main
      with:
        language: "java"
        exclude: "src/test/**"

About

License:MIT License


Languages

Language:Dockerfile 50.3%Language:Shell 49.7%