Skip to content

Replace RegEx for the sake of SonarQube #3

Replace RegEx for the sake of SonarQube

Replace RegEx for the sake of SonarQube #3

Workflow file for this run

on:
# Trigger analysis when pushing to your main branches, and when creating a pull request.
push:
branches: main
pull_request:
types: [opened, synchronize, reopened]
name: Main Workflow
jobs:
sonarqube:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
# Disabling shallow clones is recommended for improving the relevancy of reporting
fetch-depth: 0
- name: SonarQube Scan
uses: SonarSource/sonarqube-scan-action@59db25f34e16620e48ab4bb9e4a5dce155cb5432 # v8.0.0, See the latest version at https://github.com/marketplace/actions/official-sonarqube-scan
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
args: >
-Dsonar.projectKey=purejava_fedora-update
-Dsonar.organization=purejava
-Dsonar.host.url=https://sonarcloud.io
-Dsonar.projectVersion=${{ github.ref_name }}