forked from tiobe/tics-github-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yaml
More file actions
83 lines (83 loc) · 3.79 KB
/
action.yaml
File metadata and controls
83 lines (83 loc) · 3.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
name: TiCS Code Quality Analysis
author: TIOBE Software
description: Analyze your code quality with TICS Client. Integrated quality gating allows for decorated pull request reviews.
inputs:
githubToken:
desctiption: Provided by Github automatically in an action (see [Authenticating with the GITHUB_TOKEN](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/authenticating-with-the-github_token)).
required: true
projectName:
description: Name of the TICS project
required: true
ticsConfiguration:
description: A URL pointing to the "cfg" API endpoint of the TICS Viewer. It contains the name of the TICS Analyzer Configuration or "-" in case of the default configuration
required: true
additionalFlags:
description: Option to add flags to the TICS command.
required: false
branchName:
description: Name of the branch in TICS
required: false
branchDir:
description: Location of the files to analyze
required: false
calc:
description: Comma-separated list of metrics to be calculated. GATE metric is supported for TiCS Viewer versions higher than 2022.2.x. If not specified, GATE will be used by default.
required: false
default: GATE
nocalc:
description: Comma-separated list of metrics not to be calculated.
required: false
recalc:
description: Comma-separated list of metrics to be recalculated. GATE metric is supported for TiCS Viewer versions higher than 2022.2.x.
required: false
norecalc:
description: Comma-separated list of metrics not to be recalculated.
required: false
clientData:
description: A custom client-data token for the purpose of the Client Viewer functionality.
required: false
codetype:
description: Allows you to pick which specific types of code you want to analyze with the TICS client
required: false
excludeMovedFiles:
description: Exclude moved and renamed files from analysis completely. By default these are included if there are modifications in the file.
required: false
default: false
hostnameVerification:
description: Check whether the certificate matches the server. Options are `1`/`true` or `0`/`false`. [Documentation on Client-side SSL/TLS](https://portal.tiobe.com/2022.2/docs/#doc=admin/admin_11_viewer.html%23ssl-wrapper).
required: false
default: true
trustStrategy:
description: Check the validity of certificates. Options are `all`, `self-signed` or `strict`. [Documentation on Client-side SSL/TLS](https://portal.tiobe.com/2022.2/docs/#doc=admin/admin_11_viewer.html%23ssl-wrapper).
required: false
default: strict
installTics:
description: Boolean parameter to install TICS command-line tools on a runner before executing the analysis.
required: false
default: false
logLevel:
description: Show logging of information other than steps taken during the action. Options are `default`, `none` and `debug`.
required: false
postAnnotations:
description: Show the latest TiCS annotations directly in the GitHub Pull Request review.
required: false
default: true
pullRequestApproval:
description: Set the plugin to approve or deny a pull request, by default this is true. Options are `true` or `false`.
required: false
default: true
ticsAuthToken:
description: Authentication token to authorize the plugin when it connects to the TICS Viewer.
required: false
tmpDir:
description: Location to store debug information.
required: false
viewerUrl:
description: The publicly available Viewer URL of TiCS viewer to link the links in the review to. (e.g. https://domain.com/tiobeweb/TiCS)
required: false
branding:
icon: flag
color: blue
runs:
using: node16
main: dist/index.js