We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af1be45 commit 26dc893Copy full SHA for 26dc893
.github/workflows/sonar.yml
@@ -4,21 +4,14 @@ on:
4
push:
5
branches:
6
- master
7
- - dev
8
- development
+ - dev
9
pull_request:
10
types: [opened, synchronize, reopened]
11
12
+ workflow_dispatch:
13
+
14
jobs:
- build:
- name: Build and analyze
15
- runs-on: ubuntu-latest
16
-
17
- steps:
18
- - uses: actions/checkout@v4
19
- with:
20
- fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
21
- - uses: SonarSource/sonarqube-scan-action@v6.0.0
22
- env:
23
- SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
24
- SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
+ sonar:
+ uses: singnet/InfoSec/.github/workflows/sonar.yml@master
+ secrets: inherit
0 commit comments