Skip to content

Update README.md

Update README.md #5

Workflow file for this run

name: SonarCloud
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
sonarcloud:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # SonarCloud needs the full history to assign issues properly
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Provided by GitHub
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} # Set this in your repo secrets