forked from JetBrains/qodana-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yaml
51 lines (50 loc) · 1.56 KB
/
action.yaml
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
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:
args:
description: 'Additional Qodana CLI arguments. Separate multiple arguments with commas (`,`).'
required: false
default: ""
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"
use-caches:
description: 'Automatically restore and save Qodana caches using GitHub caches'
required: false
default: "true"
additional-cache-hash:
description: 'Pass additional cache hash extension'
required: false
default: "${{ github.sha }}"
cache-default-branch-only:
description: 'Upload cache for the default branch only'
required: false
default: "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-annotations:
description: 'Use annotations to mark the results in the GitHub user interface'
required: false
default: "true"
pr-mode:
description: 'Analyze only changed files in a pull request'
required: false
default: "true"
runs:
using: 'node16'
main: 'scan/dist/index.js'