mirror of
https://github.com/storytold/AniCraft.git
synced 2026-11-22 10:31:54 +01:00
ci: add SonarCloud workflow and project configuration (#81)
This commit is contained in:
1 parent
39263e0c34
commit
ae8e789aa8
2 files changed
+26
No files matched your search
@@ -0,0 +1,24 @@
|
||||
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:
|
||||
# Track shared CI improvements on main.
|
||||
uses: storytold/craft-common-actions/.github/workflows/sonarcloud.yml@main
|
||||
with:
|
||||
timeout-minutes: 120
|
||||
fonts-ref: b076417b5880bd4154bd22f00695b1d28c6bea83
|
||||
secrets: inherit
|
||||
@@ -0,0 +1,2 @@
|
||||
sonar.projectKey=storytold_anicraft
|
||||
sonar.organization=storytold
|
||||
Reference in new issue
Block a user