GitCorner

Code

ossartcraftwordcraft🌐
6ef13b2cc8a6
name: SonarCloud

on:
  push:
    branches: [main]
  pull_request:
    types: [opened, synchronize, reopened]

permissions:
  contents: read

concurrency:
  group: sonarcloud-${{ github.ref }}
  # A push to main is the run that publishes coverage; superseded runs there would never finish.
  cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

jobs:
  sonarcloud:
    # Tracked at @main so org-wide CI improvements propagate without PR churn.
    uses: storytold/craft-common-actions/.github/workflows/sonarcloud.yml@main
    with:
      # Same craft-fonts commit as ci.yml: the UI glyph tests need its CJK and Arabic fonts.
      fonts-ref: b076417b5880bd4154bd22f00695b1d28c6bea83
    secrets: inherit