Add .gitea/workflows/sonar.yml
This commit is contained in:
15
.gitea/workflows/sonar.yml
Normal file
15
.gitea/workflows/sonar.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main, testing]
|
||||
pull_request:
|
||||
branches: [main, testing]
|
||||
|
||||
jobs:
|
||||
sonar:
|
||||
uses: your-org/ci-workflows/.gitea/workflows/sonarqube.yml@main
|
||||
secrets:
|
||||
SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }}
|
||||
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
|
||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
Reference in New Issue
Block a user