forked from dieuhd/sonar-quality-gate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
25 lines (25 loc) · 935 Bytes
/
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
name: 'sonar-quality-gate'
description: 'This plugin will be intergate to CI/CD, get quality code of sonarqube and push report to merge request when has change.'
branding:
icon: 'award'
color: 'green'
inputs:
login:
description: 'The authentication token or login of a SonarQube user with Execute Analysis permission on the project.'
required: true
skipScanner:
description: 'skip scanner'
required: false
sonarBranchPlugin:
description: "Enable SonarQube Community-Branch-Plugin support. Please make sure, that you've properly installed the plugin in SonarQube: https://github.com/mc1arke/sonarqube-community-branch-plugin"
required: false
outputs:
time: # id of output
description: 'The time we greeted you'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- -b ${{ inputs.sonarBranchPlugin }}
- -D sonar.login=${{ inputs.login }}
- --skip-scanner=${{ inputs.skipScanner }}