diff --git a/.github/workflows/sonar-scan.yml b/.github/workflows/sonar-scan.yml new file mode 100644 index 0000000..0ee874f --- /dev/null +++ b/.github/workflows/sonar-scan.yml @@ -0,0 +1,18 @@ +name: SonarQube Scan +run-name: ${{ github.actor }} is running the workflow for Workspace services +on: + push: + branches: [ "release" ] + pull_request: + types: [opened, synchronize, reopened] + branches: [ "master" ] + workflow_dispatch: # Allows you to run this workflow manually from the Actions tab + +jobs: + sonar-scan: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Run SonarQube Scan + uses: bynder/github-actions/actions/sonarqube@master