Skip to content

Update SonarSource/sonarcloud-github-action action to v4 (#26) #14

Update SonarSource/sonarcloud-github-action action to v4 (#26)

Update SonarSource/sonarcloud-github-action action to v4 (#26) #14

Workflow file for this run

name: SonarQube Scan
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
scan:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: SonarQube Scan
uses: SonarSource/sonarcloud-github-action@02ef91109b2d589e757aefcfb2854c2783fd7b19 # v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}