Hi.
This is my Github Actions configuration file with sonar cloud trigger:
on:
push:
branches:
- '**'
pull_request:
types: [synchronize]
sonarcloud:
needs: [ 'build' ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
fetch-depth: 0
- name: Static code analysis
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
LC_ALL: C.UTF-8
- name: Check analysis result
uses: sonarsource/sonarqube-quality-gate-action@master
timeout-minutes: 5
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Unfortunately PR decoration is not publishing messages. Can you explain how should I configure it?