Skip to content

Commit

Permalink
Update pull-request-sonar.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
felipementel authored Dec 13, 2024
1 parent d56c450 commit 336ee66
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/pull-request-sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,7 @@ on:
sonar-qube:
description: "Deseja executar SonarQube"
required: true
default: "true"
type: choice
options:
- "true"
- "false"
type: boolean

# defaults:
# run:
Expand All @@ -34,7 +30,7 @@ env:

jobs:
quality-gitleaks:
if: ${{ inputs.gitleaks == "true" }}
if: ${{ github.event.inputs.gitleaks}}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-gitleaks
cancel-in-progress: true
Expand All @@ -55,7 +51,7 @@ jobs:
GITLEAKS_NOTIFY_USER_LIST: '@felipementel'

quality-zaproxy:
if: ${{ inputs.zaproxy == "true" }}
if: ${{ github.event.inputs.zaproxy }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-zaproxy
cancel-in-progress: true
Expand All @@ -76,7 +72,7 @@ jobs:
# cmd_options: "-z -config view.locale=pt_BR -version -daemon"

quality-sonarqube:
if: ${{ inputs.sonar-qube == "true" }}
if: ${{ github.event.inputs.sonar-qube }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-sonarqube
cancel-in-progress: true
Expand Down

0 comments on commit 336ee66

Please sign in to comment.