Dependency(deps-dev): Bump vitest from 2.1.4 to 2.1.5 in /report-view… #1244
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: SonarCloud Scan (ReportViewer) | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
paths: | |
- "report-viewer/**" | |
- ".github/workflows/sonarcloud-report-viewer.yml" | |
pull_request: | |
types: [opened, synchronize, reopened] | |
paths: | |
- "report-viewer/**" | |
- ".github/workflows/sonarcloud-report-viewer.yml" | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
sonarcloud: | |
name: SonarCloud | |
runs-on: ubuntu-latest | |
if: ${{ github.actor != 'dependabot[bot]' }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | |
- name: SonarCloud Scan | |
uses: SonarSource/sonarcloud-github-action@master | |
with: | |
projectBaseDir: report-viewer | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN_REPORT_VIEWER }} |