diff --git a/.gitea/workflow/demo.yaml b/.gitea/workflow/demo.yaml new file mode 100644 index 0000000..329e208 --- /dev/null +++ b/.gitea/workflow/demo.yaml @@ -0,0 +1,25 @@ +on: + # Trigger analysis when pushing to your main branches, and when creating a pull request. + push: + branches: + - main + - master + - develop + - 'releases/**' +run-name: ${{ gitea.actor }} is Scanning Code 🚀 +name: SonarQube Scan +jobs: + sonarqube: + name: SonarQube Scan + runs-on: ubuntu-latest + steps: + - name: Checking out + uses: actions/checkout@v4 + with: + # Disabling shallow clone is recommended for improving relevancy of reporting + fetch-depth: 0 + - name: SonarQube Scan + uses: kitabisa/sonarqube-action@v1.2.0 + with: + host: https://sonar.ailaplacelab.com + login: sqa_a3988da69583c0ae606dae085f14e6ec901675f7