Skip to content

Commit dd6560a

Browse files
Update sonar.yml
1 parent 9853217 commit dd6560a

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

.github/workflows/sonar.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,9 @@ on:
88
pull_request:
99
types: [opened, synchronize, reopened]
1010

11+
workflow_dispatch:
12+
1113
jobs:
12-
build:
13-
name: Build and analyze
14-
runs-on: ubuntu-latest
15-
16-
steps:
17-
- uses: actions/checkout@v4
18-
with:
19-
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
20-
- uses: SonarSource/sonarqube-scan-action@v6
21-
env:
22-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
23-
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
14+
sonar:
15+
uses: singnet/InfoSec/.github/workflows/sonar.yml@master
16+
secrets: inherit

0 commit comments

Comments
 (0)