Our SonarQube check gets stuck.
The GitHub Action for “SonarQube / sonar-check” completes successfully, but the check itself remains pending.
We’re not sure where the issue is or how to troubleshoot it
The SonarServer show Analysis fail message, but its not useful
Stack Is HTML, scss, TypeScript
Workflow file
name: SonarQube
on:
push:
branches:
- main
jobs:
sonar-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Scan
uses: SonarSource/sonarqube-scan-action@v5.2.0
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}