-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2a06585
commit 5ffc84a
Showing
3 changed files
with
32 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Prey on service code | ||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- service/** | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
workflow_dispatch: | ||
jobs: | ||
sonarcloud: | ||
name: SonarCloud | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: SonarCloud Scan | ||
uses: SonarSource/sonarcloud-github-action@master | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN_SERVICE }} | ||
with: | ||
projectBaseDir: service | ||
args: > | ||
-Dsonar.organization=adrianrudnik | ||
-Dsonar.projectKey=ableton.service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
sonar.projectKey = ablegram:frontend | ||
sonar.sourceEncoding = UTF-8 | ||
sonar.exclusions = .run/**, .vscode/**, .idea/**, cypress/** | ||
sonar.sourceEncoding = UTF-8 | ||
sonar.exclusions = .run/**, .vscode/**, .idea/**, cypress/** | ||
sonar.verbose = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
sonar.projectKey = ablegram:service | ||
sonar.sourceEncoding = UTF-8 | ||
sonar.exclusions = .http/**, .vscode/**, .idea/**, .samples/**, vendor/** | ||
sonar.verbose = true |