Skip to content

Commit

Permalink
ci: add option to skip sonar scan (due to maintenance)
Browse files Browse the repository at this point in the history
OTT-6805
  • Loading branch information
thatsddr committed Nov 26, 2024
1 parent e0edb4b commit 898bde5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- "**"
env:
GO_VERSION: 1.22
SKIP_SONAR: true

permissions:
id-token: write
Expand Down Expand Up @@ -49,6 +50,7 @@ jobs:
aws-region: ${{ secrets.AWS_REGION }}
- run: make test
- uses: SonarSource/sonarcloud-github-action@master
if: ${{ !env.SKIP_SONAR }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Expand Down

0 comments on commit 898bde5

Please sign in to comment.