Skip to content

Commit ab59f87

Browse files
authored
Update pull-request-sonar.yml
1 parent 97095be commit ab59f87

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/pull-request-sonar.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,24 @@ on:
1212
default: true
1313
type: choice
1414
options:
15-
- true
16-
- false
15+
- "true"
16+
- "false"
1717
zaproxy:
1818
description: "Deseja executar ZaProxy"
1919
required: true
2020
default: true
2121
type: choice
2222
options:
23-
- true
24-
- false
23+
- "true"
24+
- "false"
2525
sonar-qube:
2626
description: "Deseja executar SonarQube"
2727
required: true
2828
default: true
2929
type: choice
3030
options:
31-
- true
32-
- false
31+
- "true"
32+
- "false"
3333

3434
# defaults:
3535
# run:
@@ -42,7 +42,7 @@ env:
4242

4343
jobs:
4444
quality-gitleaks:
45-
if: ${{ inputs.gitleaks }}
45+
if: ${{ inputs.gitleaks == "true" }}
4646
concurrency:
4747
group: ${{ github.workflow }}-${{ github.ref }}-gitleaks
4848
cancel-in-progress: true
@@ -63,7 +63,7 @@ jobs:
6363
GITLEAKS_NOTIFY_USER_LIST: '@felipementel'
6464

6565
quality-zaproxy:
66-
if: ${{ inputs.zaproxy }}
66+
if: ${{ inputs.zaproxy == "true" }}
6767
concurrency:
6868
group: ${{ github.workflow }}-${{ github.ref }}-zaproxy
6969
cancel-in-progress: true
@@ -84,7 +84,7 @@ jobs:
8484
# cmd_options: "-z -config view.locale=pt_BR -version -daemon"
8585

8686
quality-sonarqube:
87-
if: ${{ inputs.sonar-qube }}
87+
if: ${{ inputs.sonar-qube == "true" }}
8888
concurrency:
8989
group: ${{ github.workflow }}-${{ github.ref }}-sonarqube
9090
cancel-in-progress: true

0 commit comments

Comments
 (0)