Skip to content

Commit

Permalink
fix git action file
Browse files Browse the repository at this point in the history
  • Loading branch information
Rinor12010 committed Oct 24, 2023
1 parent 3ba3d83 commit 63d4a72
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/sonarqube.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
name: SonarQube Analysis

on:
push:
branches:
- master
- develop
- "prestashop-plugin-vue"
- develop
- 'releases/**'
pull_request:
types: [opened, synchronize, reopened]
name: SonarQube PR Analysis
jobs:
build:
name: SonarQube Analysis
sonarqube:
runs-on: ubuntu-latest
permissions: read-all
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- uses: sonarsource/sonarqube-scan-action@master
fetch-depth: 0
- name: SonarQube Scan
uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}

0 comments on commit 63d4a72

Please sign in to comment.