Skip to content

[PRMP-166] Add update doc ref lambda and refactor create gateway to use shared doc ref gateway #189

[PRMP-166] Add update doc ref lambda and refactor create gateway to use shared doc ref gateway

[PRMP-166] Add update doc ref lambda and refactor create gateway to use shared doc ref gateway #189

name: 'Z-AUTOMATED: SonarQube Cloud Analysis'
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
permissions:
contents: read
pull-requests: write
jobs:
sonarqube_cloud:
name: SonarQube Cloud Analysis
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: SonarQube Cloud Scan
uses: SonarSource/sonarqube-scan-action@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}