Skip to content

[PRM-691] Updated static tag to main #287

[PRM-691] Updated static tag to main

[PRM-691] Updated static tag to main #287

name: "Z-AUTOMATED: SonarQube Cloud Analysis"
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
permissions: {}
jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: SonarCloud Scan
uses: SonarSource/sonarqube-scan-action@v7
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}