Skip to content

Commit 26dc893

Browse files
Update sonar.yml
1 parent af1be45 commit 26dc893

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

.github/workflows/sonar.yml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,14 @@ on:
44
push:
55
branches:
66
- master
7-
- dev
87
- development
8+
- dev
99
pull_request:
1010
types: [opened, synchronize, reopened]
1111

12+
workflow_dispatch:
13+
1214
jobs:
13-
build:
14-
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 }}
15+
sonar:
16+
uses: singnet/InfoSec/.github/workflows/sonar.yml@master
17+
secrets: inherit

0 commit comments

Comments
 (0)