This repository has been archived by the owner on Jan 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathaction.yml
71 lines (56 loc) · 1.68 KB
/
action.yml
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
name: "SonarQube Scanner Action"
description: "Static Analysis using SonarQube"
author: "Forest Keepers"
branding:
icon: "activity"
color: "green"
inputs:
projectName:
description: "Sonar Project name"
required: true
projectKey:
description: "Sonar Project Key"
required: true
baseDir:
description: "Project Base Directory"
required: false
token:
description: "Sonar Login Token"
required: true
url:
description: "Sonar Server url"
required: true
scmProvider:
description: "SCM provider"
required: false
default: "git"
sourceEncoding:
description: "Encoding of the source files"
required: false
default: "UTF-8"
enablePullRequestDecoration:
description: "Decorate a pull request. PR, branch and base are extracted from the pull request event"
required: false
onlyConfig:
description: "Generate sonar configuration, scanner will not be invoked. Sonar parameters are available as output"
required: false
default: false
isCommunityEdition:
description: "Flags if your SonarQube instance is Community edition. Skips setting PRs/branches and defaults to master"
required: false
default: false
runQualityGate:
description: Run the quality gate associated to this repo in SonarQube
required: false
qualityGateTimeout:
description: Number of seconds until build is failed for not passing quailty gate. Defaulted to 300 by SonarQube
required: false
organization:
description: Organization in case of using sonarcloud
required: false
outputs:
sonarParameters:
description: Sonar parameters generate based on input.
runs:
using: docker
image: Dockerfile