mirror of
https://github.com/SonarSource/sonarqube-quality-gate-action.git
synced 2026-09-23 13:38:32 +00:00
57 lines
1.5 KiB
YAML
57 lines
1.5 KiB
YAML
name: Unified Dogfooding scans
|
|
on:
|
|
schedule:
|
|
- cron: '0 4 * * 1' # Run weekly on Monday at 04:00 UTC
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
run-ci:
|
|
name: CI
|
|
uses: ./.github/workflows/ci.yml
|
|
permissions:
|
|
id-token: write
|
|
contents: read
|
|
|
|
run-next-analysis:
|
|
name: Next Scan
|
|
needs: run-ci
|
|
uses: ./.github/workflows/sonar-scan.yml
|
|
with:
|
|
platform_name: "Next"
|
|
host_url: "https://next.sonarqube.com/sonarqube"
|
|
vault_path: "development/kv/data/next"
|
|
permissions:
|
|
id-token: write
|
|
contents: read
|
|
|
|
run-sqc-us-analysis:
|
|
name: SQC US Scan
|
|
needs: run-ci
|
|
uses: ./.github/workflows/sonar-scan.yml
|
|
with:
|
|
platform_name: "SQC-US"
|
|
host_url: "https://sonarqube.us"
|
|
vault_path: "development/kv/data/sonarqube-us"
|
|
permissions:
|
|
id-token: write
|
|
contents: read
|
|
|
|
run-iris:
|
|
name: IRIS
|
|
needs: [run-ci, run-next-analysis, run-sqc-us-analysis]
|
|
runs-on: github-ubuntu-latest-s
|
|
permissions:
|
|
id-token: write
|
|
contents: read
|
|
steps:
|
|
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
- name: Run IRIS Analysis
|
|
uses: SonarSource/unified-dogfooding-actions/run-iris@v1
|
|
with:
|
|
primary_project_key: SonarSource_sonarqube-quality-gate-action
|
|
primary_platform: "SQC-EU"
|
|
shadow1_project_key: SonarSource_sonarqube-quality-gate-action
|
|
shadow1_platform: "Next"
|
|
shadow2_project_key: SonarSource_sonarqube-quality-gate-action
|
|
shadow2_platform: "SQC-US"
|