Files
texturecraft/.github/workflows/sonarcloud.yml
T

20 lines
470 B
YAML

name: SonarCloud
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize, reopened]
permissions:
contents: read
concurrency:
group: ${{ github.ref == 'refs/heads/main' && format('sonarcloud-main-{0}', github.sha) || format('sonarcloud-{0}', github.ref) }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
sonarcloud:
uses: storytold/craft-common-actions/.github/workflows/sonarcloud.yml@main
secrets: inherit