forked from JetBrains/qodana-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yaml
More file actions
91 lines (91 loc) · 3.17 KB
/
action.yaml
File metadata and controls
91 lines (91 loc) · 3.17 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
84
85
86
87
88
89
90
91
name: 'Qodana Scan'
description: 'Scan your projects with Qodana on GitHub. Docs: https://jb.gg/qodana-github-action'
author: 'JetBrains'
branding:
color: "black"
icon: "bar-chart-2"
inputs:
linter:
description: 'Qodana linter – [official Qodana Docker image](#supported-qodana-docker-images).'
required: true
default: "jetbrains/qodana-jvm-community:latest"
project-dir:
description: 'Root directory of the project to be analyzed'
required: false
default: "${{ github.workspace }}"
results-dir:
description: 'Directory to store the analysis results'
required: false
default: "${{ runner.temp }}/qodana/results"
cache-dir:
description: 'Directory to store Qodana caches'
required: false
default: "${{ runner.temp }}/qodana/caches"
additional-cache-hash:
description: 'Pass additional cache hash extension'
required: false
default: "${{ github.sha }}"
idea-config-dir:
description: 'IntelliJ IDEA configuration directory'
required: false
gradle-settings-path:
description: 'Provide path to gradle.properties file. An example: "/your/custom/path/gradle.properties"'
required: false
additional-volumes:
description: 'Mount additional volumes to Docker container'
required: false
additional-env-variables:
description: 'Pass additional environment variables to docker container'
required: false
fail-threshold:
description: 'Set the number of problems that will serve as a quality gate. If this number is reached, the pipeline run is terminated'
required: false
inspected-dir:
description: 'Directory to be inspected. If not specified, the whole project is inspected by default'
required: false
baseline-path:
description: 'Run in baseline mode. Provide the path to an existing SARIF report to be used in the baseline state calculation'
required: false
baseline-include-absent:
description: 'Include the results from the baseline absent in the current Qodana run in the output report'
required: false
default: "false"
changes:
description: 'Inspect uncommitted changes and report new problems'
required: false
default: "false"
script:
description: 'Override the default docker scenario'
required: false
token:
description: 'Qodana Cloud token'
required: false
profile-name:
description: 'Name of a profile defined in the project'
required: false
profile-path:
description: 'Absolute path to the profile file'
required: false
upload-result:
description: 'Upload Qodana results as an artifact to the job'
required: false
default: "true"
artifact-name:
description: 'Specify Qodana results artifact name, used for results uploading'
required: false
default: "Qodana report"
use-caches:
description: 'Utilize GitHub caches for Qodana runs'
required: false
default: "true"
use-annotations:
description: 'Use annotation to mark the results in the GitHub user interface'
required: false
default: "true"
github-token:
description: 'GitHub token to be used for uploading annotations'
required: false
default: ${{ github.token }}
runs:
using: 'node12'
main: 'dist/index.js'