Skip to content

Commit

Permalink
5.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpalme committed May 25, 2024
1 parent 1f766b8 commit 9f1033d
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 11 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The more advanced settings are documented in the [wiki](https://github.com/danie
dotnet-quality: 'ga'

- name: ReportGenerator
uses: danielpalme/ReportGenerator-GitHub-Action@5.3.0
uses: danielpalme/ReportGenerator-GitHub-Action@5.3.4
with:
reports: 'coverage.xml' # REQUIRED # The coverage reports that should be parsed (separated by semicolon). Globbing is supported.
targetdir: 'coveragereport' # REQUIRED # The directory where the generated report should be saved.
Expand All @@ -25,6 +25,8 @@ The more advanced settings are documented in the [wiki](https://github.com/danie
assemblyfilters: '+*' # Optional list of assemblies that should be included or excluded in the report. Exclusion filters take precedence over inclusion filters. Wildcards are allowed.
classfilters: '+*' # Optional list of classes that should be included or excluded in the report. Exclusion filters take precedence over inclusion filters. Wildcards are allowed.
filefilters: '+*' # Optional list of files that should be included or excluded in the report. Exclusion filters take precedence over inclusion filters. Wildcards are allowed.
riskhotspotassemblyfilters: '+*' # Optional list of assemblies that should be included or excluded in the risk hotspots. Exclusion filters take precedence over inclusion filters. Wildcards are allowed.
riskhotspotclassfilters: '+*' # Optional list of classes that should be included or excluded in the risk hotspots. Exclusion filters take precedence over inclusion filters. Wildcards are allowed.
verbosity: 'Info' # The verbosity level of the log messages. Values: Verbose, Info, Warning, Error, Off
title: '' # Optional title.
tag: '${{ github.run_number }}_${{ github.run_id }}' # Optional tag or build version.
Expand Down
8 changes: 8 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ inputs:
description: 'Optional list of files that should be included or excluded in the report. Exclusion filters take precedence over inclusion filters. Wildcards are allowed.'
required: false
default: '+*'
riskhotspotassemblyfilters:
description: 'Optional list of assemblies that should be included or excluded in the risk hotspots. Exclusion filters take precedence over inclusion filters. Wildcards are allowed.'
required: false
default: '+*'
riskhotspotclassfilters:
description: 'Optional list of classes that should be included or excluded in the risk hotspots. Exclusion filters take precedence over inclusion filters. Wildcards are allowed.'
required: false
default: '+*'
verbosity:
description: 'The verbosity level of the log messages. Values: Verbose, Info, Warning, Error, Off'
required: false
Expand Down
4 changes: 3 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
const core = __importStar(__nccwpck_require__(2186));
const exec = __importStar(__nccwpck_require__(1514));
const fs = __importStar(__nccwpck_require__(7147));
const VERSION = '5.3.0';
const VERSION = '5.3.4';
function run() {
return __awaiter(this, void 0, void 0, function* () {
try {
Expand Down Expand Up @@ -106,6 +106,8 @@ function run() {
'-assemblyfilters:' + (core.getInput('assemblyfilters') || ''),
'-classfilters:' + (core.getInput('classfilters') || ''),
'-filefilters:' + (core.getInput('filefilters') || ''),
'-riskhotspotassemblyfilters:' + (core.getInput('riskhotspotassemblyfilters') || ''),
'-riskhotspotclassfilters:' + (core.getInput('riskhotspotclassfilters') || ''),
'-verbosity:' + (core.getInput('verbosity') || ''),
'-title:' + (core.getInput('title') || ''),
'-tag:' + (core.getInput('tag') || ''),
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ReportGenerator",
"version": "5.3.0",
"version": "5.3.4",
"description": "",
"main": "lib/reportgenerator.js",
"scripts": {
Expand Down
6 changes: 4 additions & 2 deletions src/reportgenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as core from '@actions/core';
import * as exec from '@actions/exec';
import * as fs from 'fs';

const VERSION = '5.3.0';
const VERSION = '5.3.4';

async function run() {
try {
Expand Down Expand Up @@ -82,12 +82,14 @@ async function run() {
'-assemblyfilters:' + (core.getInput('assemblyfilters') || ''),
'-classfilters:' + (core.getInput('classfilters') || ''),
'-filefilters:' + (core.getInput('filefilters') || ''),
'-riskhotspotassemblyfilters:' + (core.getInput('riskhotspotassemblyfilters') || ''),
'-riskhotspotclassfilters:' + (core.getInput('riskhotspotclassfilters') || ''),
'-verbosity:' + (core.getInput('verbosity') || ''),
'-title:' + (core.getInput('title') || ''),
'-tag:' + (core.getInput('tag') || ''),
'-license:' + (core.getInput('license') || '')
];

const customSettings = (core.getInput('customSettings') || '');

if (customSettings.length > 0) {
Expand Down

0 comments on commit 9f1033d

Please sign in to comment.