diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 61a1bb5..165f7cf 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -1,10 +1,6 @@
-name: Java CI with Maven
+name: CI
-on:
- push:
- branches: [ "main" ]
- pull_request:
- types: [ opened, synchronize, reopened ]
+on: [push]
jobs:
build:
@@ -12,7 +8,7 @@ jobs:
steps:
- uses: actions/checkout@v6
with:
- fetch-depth: 0
+ fetch-depth: 0 # prevent shallow clone - for sonar
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
diff --git a/SONAR.md b/SONAR.md
new file mode 100644
index 0000000..9c4329d
--- /dev/null
+++ b/SONAR.md
@@ -0,0 +1,8 @@
+# Sonar setup
+
+Auto scan not triggering
+
+With manual scan, scan runs, but no pr decoration
+
+
+
diff --git a/pom.xml b/pom.xml
index 0511b57..f5bd825 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,8 +7,8 @@
com.solubris
coding-rules
1.0.0-SNAPSHOT
- Custom PMD Rules - Excessive Mocking
- Custom PMD rule to detect excessive Mockito when() calls on the same mock object
+ Coding Rules
+ Custom rules to help coding - PMD/Checkstyle/Spotbugs/Enforcer
17