Skip to content

Commit 3ad4c98

Browse files
authored
Merge pull request #8 from fergusmacd/fix/sc
Testing SC
2 parents 2c15165 + 184d0a7 commit 3ad4c98

1 file changed

Lines changed: 7 additions & 13 deletions

File tree

.github/workflows/sonar-checks.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
name: SonarCloud analysis
1+
name: SonarCloud Analysis
22
on:
33
push:
44
branches: [ $default-branch, $protected-branches ]
5+
paths-ignore:
6+
- 'docs/**'
7+
- '.github/**'
58
pull_request:
6-
branches: [ $default-branch ]
7-
workflow_dispatch:
9+
branches: [ "**" ]
810

911
permissions:
1012
pull-requests: read # allows SonarCloud to decorate PRs with analysis results
@@ -27,14 +29,6 @@ jobs:
2729
args:
2830
# Unique keys of your project and organization. You can find them in SonarCloud > Information (bottom-left menu)
2931
# mandatory
30-
-Dsonar.projectKey=fergusmacd
31-
-Dsonar.organization=fergusmacd_github-action-usage
32+
-Dsonar.projectKey=fergusmacd_github-action-usage
33+
-Dsonar.organization=fergusmacd
3234
-Dsonar.python.version=3.9
33-
# Comma-separated paths to directories containing main source files.
34-
#-Dsonar.sources= # optional, default is project base directory
35-
# When you need the analysis to take place in a directory other than the one from which it was launched
36-
#-Dsonar.projectBaseDir= # optional, default is .
37-
# Comma-separated paths to directories containing test source files.
38-
#-Dsonar.tests= # optional. For more info about Code Coverage, please refer to https://docs.sonarcloud.io/enriching/test-coverage/overview/
39-
# Adds more detail to both client and server-side analysis logs, activating DEBUG mode for the scanner, and adding client-side environment variables and system properties to the server-side log of analysis report processing.
40-
#-Dsonar.verbose= # optional, default is false

0 commit comments

Comments
 (0)