Skip to content

Commit 39f2a62

Browse files
authored
chore: add sonar_scan.yaml (#43)
1 parent b4a1bd9 commit 39f2a62

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/sonar_scan.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: 'SonarQube Scan'
2+
3+
on:
4+
push:
5+
branches:
6+
- '*'
7+
paths:
8+
- '**'
9+
10+
workflow_dispatch:
11+
inputs:
12+
ENVIRONMENT:
13+
description: 'Environment Name'
14+
type: environment
15+
required: true
16+
default: staging
17+
18+
jobs:
19+
sonar_scan:
20+
uses: smallcase/sc-infra-configs/.github/workflows/sonarqube_scan.yaml@master
21+
with:
22+
ENVIRONMENT: ${{ inputs.ENVIRONMENT || 'staging' }}
23+
RUNNER_NAME: arc-runner-set-dind
24+
APPLICATION_NAME: 'cdk-eks-cluster-module'
25+
BRANCH_NAME: '${{ github.ref_name }}'
26+
SONAR_SCAN: true
27+
secrets: inherit

0 commit comments

Comments
 (0)