Skip to content

Commit d763ebe

Browse files
committed
ci: exclude GitHub workflows from SonarCloud analysis
1 parent 3f9e557 commit d763ebe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/tag.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
steps:
1414
- name: Checkout
1515
uses: actions/checkout@v6
16+
with:
17+
fetch-depth: 0
1618

1719
- name: Set up Go
1820
uses: actions/setup-go@v6
@@ -33,5 +35,6 @@ jobs:
3335
-Dsonar.host.url=https://sonarcloud.io
3436
-Dsonar.sources=.
3537
-Dsonar.tests=.
38+
-Dsonar.exclusions=**/.github/workflows/**
3639
-Dsonar.test.inclusions=**/*_test.go
3740
-Dsonar.go.coverage.reportPaths=coverage.out

0 commit comments

Comments
 (0)