File tree Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Shadow scans
2+ on :
3+ schedule :
4+ # Run the workflow every day at 04:00 UTC
5+ - cron : ' 0 1 * * *'
6+ workflow_dispatch :
7+
8+ jobs :
9+ scan :
10+ runs-on : github-ubuntu-latest-s
11+ name : Scan on shadow platforms
12+ permissions :
13+ id-token : write
14+ contents : write
15+ steps :
16+ - name : Vault
17+ id : secrets
18+ uses : SonarSource/vault-action-wrapper@v3
19+ with :
20+ secrets : |
21+ development/artifactory/token/{REPO_OWNER_NAME_DASH}-private-reader access_token | ARTIFACTORY_ACCESS_TOKEN;
22+ - uses : actions/checkout@v4
23+ - uses : jdx/mise-action@v2
24+ - uses : SonarSource/ci-github-actions/build-gradle@master # dogfood
25+ env :
26+ ARTIFACTORY_PRIVATE_USERNAME : vault-{REPO_OWNER_NAME_DASH}-private-reader
27+ ARTIFACTORY_PRIVATE_PASSWORD : ${{ fromJSON(steps.secrets.outputs.vault).ARTIFACTORY_ACCESS_TOKEN }}
28+ with :
29+ run-shadow-scans : true
30+ artifactory-reader-role : private-reader
31+ artifactory-deployer-role : qa-deployer
32+ - name : Run IRIS Analysis
33+ uses : SonarSource/unified-dogfooding-actions/run-iris@v1
34+ with :
35+ primary_project_key : " org.sonarsource.kotlin:kotlin"
36+ primary_platform : " Next"
37+ shadow1_project_key : " SonarSource_sonar-kotlin"
38+ shadow1_platform : " SQC-EU"
39+ shadow2_project_key : " SonarSource_sonar-kotlin"
40+ shadow2_platform : " SQC-US"
Original file line number Diff line number Diff line change 1+ [tools ]
2+ java = " 17.0"
3+ gradle = " 8.10.1"
You can’t perform that action at this time.
0 commit comments