Skip to content

Commit

Permalink
Add untracked file during workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
shijl0925 authored and actions-user committed Sep 19, 2024
1 parent f4f57b3 commit 22ff38c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion sonarqube/measures/measures_gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ type ComponentTreeRequest struct {
Asc string `url:"asc,omitempty"` // Ascending sort
Branch string `url:"branch,omitempty"` // Since 6.6;Branch key. Not available in the community edition.
Component string `url:"component"` // Component key. The search is based on this component.
MetricKeys string `url:"metricKeys"` // Comma-separated list of metric keys. Types DISTRIB are not allowed. For type DATA only new_maintainability_issues, new_security_issues, new_reliability_issues, security_issues, maintainability_issues, reliability_issues metrics are supported
MetricKeys string `url:"metricKeys"` // Comma-separated list of metric keys. Types DISTRIB are not allowed. For type DATA only new_reliability_issues, new_security_issues, new_maintainability_issues, reliability_issues, maintainability_issues, security_issues metrics are supported
MetricPeriodSort string `url:"metricPeriodSort,omitempty"` // Since 5.5;Sort measures by leak period or not ?. The 's' parameter must contain the 'metricPeriod' value.
MetricSort string `url:"metricSort,omitempty"` // Metric key to sort by. The 's' parameter must contain the 'metric' or 'metricPeriod' value. It must be part of the 'metricKeys' parameter
MetricSortFilter string `url:"metricSortFilter,omitempty"` // Filter components. Sort must be on a metric. Possible values are: <ul><li>all: return all components</li><li>withMeasuresOnly: filter out components that do not have a measure on the sorted metric</li></ul>
Expand Down
6 changes: 3 additions & 3 deletions sonarqube/measures_gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type Measures service
// Since 5.4
// Changelog:
//
// 10.7: Added new accepted values for the 'metricKeys' param: 'software_quality_maintainability_debt_ratio', 'software_quality_maintainability_rating', 'software_quality_reliability_rating', 'software_quality_security_rating', 'software_quality_security_review_rating', 'software_quality_maintainability_remediation_effort', 'software_quality_reliability_remediation_effort', 'software_quality_security_remediation_effort', 'effort_to_reach_software_quality_maintainability_rating_a', 'new_software_quality_maintainability_debt_ratio', 'new_software_quality_maintainability_rating', 'new_software_quality_reliability_rating', 'new_software_quality_security_rating', 'new_software_quality_security_review_rating', 'new_software_quality_maintainability_remediation_effort', 'new_software_quality_reliability_remediation_effort', 'new_software_quality_security_remediation_effort'
// 10.7: Added new accepted values for the 'metricKeys' param: 'software_quality_maintainability_debt_ratio', 'software_quality_maintainability_rating', 'software_quality_reliability_rating', 'software_quality_security_rating', 'software_quality_maintainability_remediation_effort', 'software_quality_reliability_remediation_effort', 'software_quality_security_remediation_effort', 'effort_to_reach_software_quality_maintainability_rating_a', 'new_software_quality_maintainability_debt_ratio', 'new_software_quality_maintainability_rating', 'new_software_quality_reliability_rating', 'new_software_quality_security_rating', 'new_software_quality_maintainability_remediation_effort', 'new_software_quality_reliability_remediation_effort', 'new_software_quality_security_remediation_effort'
// 10.5: The metrics 'new_blocker_violations', 'new_critical_violations', 'new_major_violations', 'new_minor_violations', 'new_info_violations', 'blocker_violations', 'critical_violations', 'major_violations', 'minor_violations', 'info_violations' are now deprecated without exact replacement. Use 'maintainability_issues', 'reliability_issues' and 'security_issues' instead.
// 10.5: Added new accepted values for the 'metricKeys' param: 'new_maintainability_issues', 'new_reliability_issues', 'new_security_issues'
// 10.4: The metrics 'bugs', 'new_bugs', 'vulnerabilities', 'new_vulnerabilities', 'code_smells', 'new_code_smells', 'high_impact_accepted_issues' are now deprecated without exact replacement. Use 'maintainability_issues', 'reliability_issues' and 'security_issues' instead.
Expand Down Expand Up @@ -60,7 +60,7 @@ func (s *Measures) Component(ctx context.Context, r measures.ComponentRequest) (
// Changelog:
//
// 10.7: Number of metric keys is limited to 25
// 10.7: Added new accepted values for the 'metricKeys' param: 'software_quality_maintainability_debt_ratio', 'software_quality_maintainability_rating', 'software_quality_reliability_rating', 'software_quality_security_rating', 'software_quality_security_review_rating', 'software_quality_maintainability_remediation_effort', 'software_quality_reliability_remediation_effort', 'software_quality_security_remediation_effort', 'effort_to_reach_software_quality_maintainability_rating_a', 'new_software_quality_maintainability_debt_ratio', 'new_software_quality_maintainability_rating', 'new_software_quality_reliability_rating', 'new_software_quality_security_rating', 'new_software_quality_security_review_rating', 'new_software_quality_maintainability_remediation_effort', 'new_software_quality_reliability_remediation_effort', 'new_software_quality_security_remediation_effort'
// 10.7: Added new accepted values for the 'metricKeys' param: 'software_quality_maintainability_debt_ratio', 'software_quality_maintainability_rating', 'software_quality_reliability_rating', 'software_quality_security_rating', 'software_quality_maintainability_remediation_effort', 'software_quality_reliability_remediation_effort', 'software_quality_security_remediation_effort', 'effort_to_reach_software_quality_maintainability_rating_a', 'new_software_quality_maintainability_debt_ratio', 'new_software_quality_maintainability_rating', 'new_software_quality_reliability_rating', 'new_software_quality_security_rating', 'new_software_quality_maintainability_remediation_effort', 'new_software_quality_reliability_remediation_effort', 'new_software_quality_security_remediation_effort'
// 10.5: Added new accepted values for the 'metricKeys' param: 'new_maintainability_issues', 'new_reliability_issues', 'new_security_issues'
// 10.5: The metrics 'new_blocker_violations', 'new_critical_violations', 'new_major_violations', 'new_minor_violations', 'new_info_violations', 'blocker_violations', 'critical_violations', 'major_violations', 'minor_violations', 'info_violations' are now deprecated without exact replacement. Use 'maintainability_issues', 'reliability_issues' and 'security_issues' instead.
// 10.5: Added new accepted values for the 'metricKeys' param: 'maintainability_issues', 'reliability_issues', 'security_issues'
Expand Down Expand Up @@ -129,7 +129,7 @@ func (s *Measures) ComponentTreeAll(ctx context.Context, r measures.ComponentTre
// Since 6.3
// Changelog:
//
// 10.7: Added new accepted values for the 'metricKeys' param: 'software_quality_maintainability_debt_ratio', 'software_quality_maintainability_rating', 'software_quality_reliability_rating', 'software_quality_security_rating', 'software_quality_security_review_rating', 'software_quality_maintainability_remediation_effort', 'software_quality_reliability_remediation_effort', 'software_quality_security_remediation_effort', 'effort_to_reach_software_quality_maintainability_rating_a', 'new_software_quality_maintainability_debt_ratio', 'new_software_quality_maintainability_rating', 'new_software_quality_reliability_rating', 'new_software_quality_security_rating', 'new_software_quality_security_review_rating', 'new_software_quality_maintainability_remediation_effort', 'new_software_quality_reliability_remediation_effort', 'new_software_quality_security_remediation_effort'
// 10.7: Added new accepted values for the 'metricKeys' param: 'software_quality_maintainability_debt_ratio', 'software_quality_maintainability_rating', 'software_quality_reliability_rating', 'software_quality_security_rating', 'software_quality_maintainability_remediation_effort', 'software_quality_reliability_remediation_effort', 'software_quality_security_remediation_effort', 'effort_to_reach_software_quality_maintainability_rating_a', 'new_software_quality_maintainability_debt_ratio', 'new_software_quality_maintainability_rating', 'new_software_quality_reliability_rating', 'new_software_quality_security_rating', 'new_software_quality_maintainability_remediation_effort', 'new_software_quality_reliability_remediation_effort', 'new_software_quality_security_remediation_effort'
// 10.5: The metrics 'new_blocker_violations', 'new_critical_violations', 'new_major_violations', 'new_minor_violations', 'new_info_violations', 'blocker_violations', 'critical_violations', 'major_violations', 'minor_violations', 'info_violations' are now deprecated without exact replacement. Use 'maintainability_issues', 'reliability_issues' and 'security_issues' instead.
// 10.5: Added new accepted values for the 'metricKeys' param: 'new_maintainability_issues', 'new_reliability_issues', 'new_security_issues'
// 10.4: The metrics 'bugs', 'new_bugs', 'vulnerabilities', 'new_vulnerabilities', 'code_smells', 'new_code_smells', 'high_impact_accepted_issues' are now deprecated without exact replacement. Use 'maintainability_issues', 'reliability_issues' and 'security_issues' instead.
Expand Down
4 changes: 2 additions & 2 deletions sonarqube/qualitygates/qualitygates_gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type CreateResponse struct {
type CreateConditionRequest struct {
Error string `form:"error"` // Condition error threshold
GateName string `form:"gateName"` // Name of the quality gate
Metric string `form:"metric"` // Condition metric.<br/> Only metric of the following types are allowed:<ul><li>INT</li><li>MILLISEC</li><li>RATING</li><li>WORK_DUR</li><li>FLOAT</li><li>PERCENT</li><li>LEVEL</li></ul>Following metrics are forbidden:<ul><li>new_software_quality_reliability_remediation_effort</li><li>software_quality_maintainability_debt_ratio</li><li>software_quality_security_remediation_effort</li><li>software_quality_security_review_rating</li><li>new_software_quality_maintainability_debt_ratio</li><li>effort_to_reach_software_quality_maintainability_rating_a</li><li>new_software_quality_security_rating</li><li>new_software_quality_security_review_rating</li><li>software_quality_maintainability_remediation_effort</li><li>new_security_hotspots</li><li>alert_status</li><li>software_quality_maintainability_rating</li><li>software_quality_reliability_rating</li><li>new_software_quality_reliability_rating</li><li>new_software_quality_security_remediation_effort</li><li>software_quality_security_rating</li><li>new_software_quality_maintainability_rating</li><li>new_software_quality_maintainability_remediation_effort</li><li>software_quality_reliability_remediation_effort</li><li>security_hotspots</li></ul>
Metric string `form:"metric"` // Condition metric.<br/> Only metric of the following types are allowed:<ul><li>INT</li><li>MILLISEC</li><li>RATING</li><li>WORK_DUR</li><li>FLOAT</li><li>PERCENT</li><li>LEVEL</li></ul>Following metrics are forbidden:<ul><li>alert_status</li><li>software_quality_maintainability_rating</li><li>new_software_quality_maintainability_rating</li><li>new_security_hotspots</li><li>software_quality_security_rating</li><li>new_software_quality_security_rating</li><li>new_software_quality_reliability_rating</li><li>software_quality_security_remediation_effort</li><li>effort_to_reach_software_quality_maintainability_rating_a</li><li>new_software_quality_maintainability_remediation_effort</li><li>software_quality_maintainability_remediation_effort</li><li>new_software_quality_security_remediation_effort</li><li>software_quality_reliability_rating</li><li>software_quality_maintainability_debt_ratio</li><li>new_software_quality_reliability_remediation_effort</li><li>new_software_quality_maintainability_debt_ratio</li><li>software_quality_reliability_remediation_effort</li><li>security_hotspots</li></ul>
Op string `form:"op,omitempty"` // Condition operator:<br/><ul><li>LT = is lower than</li><li>GT = is greater than</li></ul>
}

Expand Down Expand Up @@ -281,6 +281,6 @@ type ShowResponse struct {
type UpdateConditionRequest struct {
Error string `form:"error"` // Condition error threshold
Id string `form:"id"` // Condition ID
Metric string `form:"metric"` // Condition metric.<br/> Only metric of the following types are allowed:<ul><li>INT</li><li>MILLISEC</li><li>RATING</li><li>WORK_DUR</li><li>FLOAT</li><li>PERCENT</li><li>LEVEL</li></ul>Following metrics are forbidden:<ul><li>new_software_quality_reliability_remediation_effort</li><li>software_quality_maintainability_debt_ratio</li><li>software_quality_security_remediation_effort</li><li>software_quality_security_review_rating</li><li>new_software_quality_maintainability_debt_ratio</li><li>effort_to_reach_software_quality_maintainability_rating_a</li><li>new_software_quality_security_rating</li><li>new_software_quality_security_review_rating</li><li>software_quality_maintainability_remediation_effort</li><li>new_security_hotspots</li><li>alert_status</li><li>software_quality_maintainability_rating</li><li>software_quality_reliability_rating</li><li>new_software_quality_reliability_rating</li><li>new_software_quality_security_remediation_effort</li><li>software_quality_security_rating</li><li>new_software_quality_maintainability_rating</li><li>new_software_quality_maintainability_remediation_effort</li><li>software_quality_reliability_remediation_effort</li><li>security_hotspots</li></ul>
Metric string `form:"metric"` // Condition metric.<br/> Only metric of the following types are allowed:<ul><li>INT</li><li>MILLISEC</li><li>RATING</li><li>WORK_DUR</li><li>FLOAT</li><li>PERCENT</li><li>LEVEL</li></ul>Following metrics are forbidden:<ul><li>alert_status</li><li>software_quality_maintainability_rating</li><li>new_software_quality_maintainability_rating</li><li>new_security_hotspots</li><li>software_quality_security_rating</li><li>new_software_quality_security_rating</li><li>new_software_quality_reliability_rating</li><li>software_quality_security_remediation_effort</li><li>effort_to_reach_software_quality_maintainability_rating_a</li><li>new_software_quality_maintainability_remediation_effort</li><li>software_quality_maintainability_remediation_effort</li><li>new_software_quality_security_remediation_effort</li><li>software_quality_reliability_rating</li><li>software_quality_maintainability_debt_ratio</li><li>new_software_quality_reliability_remediation_effort</li><li>new_software_quality_maintainability_debt_ratio</li><li>software_quality_reliability_remediation_effort</li><li>security_hotspots</li></ul>
Op string `form:"op,omitempty"` // Condition operator:<br/><ul><li>LT = is lower than</li><li>GT = is greater than</li></ul>
}

0 comments on commit 22ff38c

Please sign in to comment.