diff --git a/.gitea/workflows/sonar.yml b/.gitea/workflows/sonar.yml new file mode 100644 index 0000000..4224c24 --- /dev/null +++ b/.gitea/workflows/sonar.yml @@ -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 }} \ No newline at end of file