You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**Variable**: `SONARQUBE_URL` - SonarQube server URL (organization or repository variable)
99
+
-**Secret**: `SONARQUBE_TOKEN` - SonarQube authentication token (organization or repository secret)
92
100
93
101
## 🔄 Workflow Process
94
102
@@ -98,6 +106,33 @@ For individual repository setup, create `.github/workflows/sonarqube-analysis.ym
98
106
4.**Code Analysis**: Runs comprehensive quality analysis with proper exclusions
99
107
5.**Quality Gate**: Reports results without failing the workflow (informational only)
100
108
109
+
## ⚡ When Analysis Runs
110
+
111
+
**Analysis Triggers:**
112
+
113
+
- ✅ **Push to `main` branch** - Every commit to main triggers analysis
114
+
- ✅ **Merged Pull Requests** - When PRs are merged to main, analysis runs automatically
115
+
- ❌ **Feature branch commits** - Only main branch commits are analyzed
116
+
- ❌ **Draft or open PRs** - No analysis on non-main branches
117
+
118
+
## 🏷️ Automatic Project Tagging
119
+
120
+
For repositories following the naming convention `[year]-[semester]-S[section]-Grupo[group]-[project_name]`, the workflow automatically creates these SonarQube project tags:
0 commit comments