Skip to content

Update sonar-cloud-analysis.yml #2

Update sonar-cloud-analysis.yml

Update sonar-cloud-analysis.yml #2

name: Sonar-cloud Analysis
on:
push:
branches:
- main
jobs:
DemoSonarCloudSCan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
args: >
-Dsonar.organization=transform1234
-Dsonar.projectKey=alt-frontend