Skip to content

Commit 898bde5

Browse files
committed
ci: add option to skip sonar scan (due to maintenance)
OTT-6805
1 parent e0edb4b commit 898bde5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- "**"
77
env:
88
GO_VERSION: 1.22
9+
SKIP_SONAR: true
910

1011
permissions:
1112
id-token: write
@@ -49,6 +50,7 @@ jobs:
4950
aws-region: ${{ secrets.AWS_REGION }}
5051
- run: make test
5152
- uses: SonarSource/sonarcloud-github-action@master
53+
if: ${{ !env.SKIP_SONAR }}
5254
env:
5355
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5456
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 commit comments

Comments
 (0)