Skip to content

Merge pull request #1180 from jplag/feature/antlr-utils-simpler-names #1

Merge pull request #1180 from jplag/feature/antlr-utils-simpler-names

Merge pull request #1180 from jplag/feature/antlr-utils-simpler-names #1

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
steps:
- uses: actions/checkout@v3
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 }}