Skip to content

First draft

First draft #1

Workflow file for this run

name: Iris sync

Check failure on line 1 in .github/workflows/iris.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/iris.yml

Invalid workflow file

(Line: 13, Col: 3): The workflow must contain at least one job with no dependencies.
on:
schedule:
# Nightly job
- cron: '0 2 * * *'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
iris:
name: "IRIS ${{ matrix.name }}"
needs: [analysis-shadow-sqc-eu, analysis-shadow-sqc-us]
runs-on: sonar-s-public
if: github.ref == 'refs/heads/master'
permissions:
id-token: write
contents: write
strategy:
matrix:
include:
- name: "IRIS SQ NEXT -> Sonarcloud.io"
env:
SONAR_TARGET_URL: https://sonarcloud.io
SONAR_TARGET_IRIS_TOKEN: VAULT[development/kv/data/iris data.sqc-eu]
- name: "IRIS SQ NEXT -> SonarQube.us"
env:
SONAR_TARGET_URL: https://sonarqube.us
SONAR_TARGET_IRIS_TOKEN: VAULT[development/kv/data/iris data.sqc-us]
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Run IRIS
run: ./.github/scripts/run_iris.sh