Skip to content

chore: rename codeql workflow (#274) #212

chore: rename codeql workflow (#274)

chore: rename codeql workflow (#274) #212

Workflow file for this run

name: Sonar
on:
push:
branches: [ main, develop ]
permissions:
contents: read
jobs:
sonar:
permissions:
contents: read # for actions/checkout to fetch code
pull-requests: read # for sonarsource/sonarcloud-github-action to determine which PR to decorate
name: Sonar
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
with:
fetch-depth: 0
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@44eed6088a971ec48af9300c3701483b8815f622 # master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}