Coordinator
Matrix job
Scanner
flowchart LR
    matrix["Resolve image matrix"]
    build(["Build Images\n⟐ matrix"])
    scan(["Scan ${{ matrix.image }}\n⟐ matrix"])
    test_cli["Test Argus CLI"]
    comment_pr["Container Scan Summary"]

    matrix --> build
    matrix --> scan
    build --> scan
    matrix --> test_cli
    build --> test_cli
    scan --> comment_pr
    test_cli --> comment_pr

    classDef matrix fill:#4a148c,stroke:#7c43bd,color:#fff,stroke-width:2px
    class build,scan matrix
    classDef coordinator fill:#0d47a1,stroke:#42a5f5,color:#fff,stroke-width:2px
    class matrix coordinator