Skip to content

Commit

Permalink
chore(actions): remove sonarqube
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Vieira committed Mar 19, 2024
1 parent bfbe99b commit c24cd13
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/sonarqube.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
name: SonarQube
#name: SonarQube



on:
push:
branches:
- master
#on:
# push:
# branches:
# - master



jobs:
sonarqube:
name: SonarQube
runs-on: ubuntu-22.04
#jobs:
# sonarqube:
# name: SonarQube
# runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
# steps:
# - uses: actions/checkout@v4
# with:
# fetch-depth: 0

- name: SonarQube file
run: |
echo "sonar.projectKey=${{ github.event.repository.name }}" > sonar-project.properties
# - name: SonarQube file
# run: |
# echo "sonar.projectKey=${{ github.event.repository.name }}" > sonar-project.properties

- name: SonarQube Scan
uses: sonarsource/sonarqube-scan-action@v2.0.1
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
# - name: SonarQube Scan
# uses: sonarsource/sonarqube-scan-action@v2.0.1
# env:
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
# SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}

0 comments on commit c24cd13

Please sign in to comment.