-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathaction.yml
40 lines (40 loc) · 1.37 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
name: "SonarQube Quality Gate Report"
description: "Retrieve quality gate result of an analysis"
inputs:
sonar-project-key:
description: "SonarQube project key"
required: true
sonar-host-url:
description: "SonarQube server URL"
required: true
sonar-token:
description: "SonarQube token for retrieving quality gate result"
required: true
github-token:
description: "GitHub Token for commenting on the pull request - not required if `disable-pr-comment` is set to `true`"
required: false
disable-pr-comment:
description: "Disable commenting result on the pull request"
required: false
default: "false"
fail-on-quality-gate-error:
description: "Set the action status to failed when quality gate status is `ERROR`"
required: false
default: "false"
branch:
description: "Branch name to retrieve the quality gate result, mutually exclusive with `pull-request` input"
required: false
pull-request:
description: "Pull request id to retrieve the quality gate result, mutually exclusive with `branch` input"
required: false
outputs:
project-status:
description: "Project's quality gate status either as `OK` or `ERROR`"
quality-gate-result:
description: "Quality gate of the latest analysis in JSON format"
runs:
using: "docker"
image: "Dockerfile"
branding:
icon: "git-pull-request"
color: "purple"