pavanmudigonda/lines-of-code-reporter
Calculates and publishes lines of code report in GitHub Actions as Checksuite.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| directory | Path to the Directory(s) where Calculation below which calculation needs to run. Defaults to github workspace. Comma separated allowed currently. | no | ${{ github.workspace }} |
| exclude_dir | directories to be excluded. Comma separated allowed currently Defaults to a dummy value to avoid errors Comma separated allowed currently. | no | .git |
| exclude_lang | languages to be excluded. Comma separated allowed currently. | no | — |
| exclude_ext | extensions to be excluded. Comma separated allowed currently. | no | — |
| include_lang | languages to be included. Comma separated allowed currently. | no | — |
| include_ext | extensions to be included. Comma separated allowed currently. | no | — |
| github_token | GITHUB_TOKEN to authenticate against API calls to attach report to Workflow Run. | no | ${{ github.token }} |
| skip_check_run | If true, will skip attaching the Tests Result report to the Workflow Run using a Check Run. | no | false |
Outputs
| name | description |
|---|---|
| loc_report | Output report in markdown |
| total_lines_string | Total Lines of Code String Comma Separated |
| total_lines_int | Total Lines of Code int |
| check_run_id | check run id of the report |
| check_run_url | check run url of the report |