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 Dec 21, 2024
1 parent 46a1d4b commit 08d122b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 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_security_issues, new_reliability_issues, security_issues, maintainability_issues, reliability_issues, new_maintainability_issues metrics are supported
MetricKeys string `url:"metricKeys"` // Comma-separated list of metric keys. Types DISTRIB are not allowed. For type DATA only new_security_issues, new_maintainability_issues, reliability_issues, maintainability_issues, security_issues, new_reliability_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
8 changes: 4 additions & 4 deletions sonarqube/new_code_periods/new_code_periods_gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package new_code_periods

// AUTOMATICALLY GENERATED, DO NOT EDIT BY HAND!

// ListRequest Lists the <a href="https://sonar-documentations-preview.netlify.app/sonarqube/project-administration/clean-as-you-code-settings/defining-new-code/" target="_blank" rel="noopener noreferrer">new code definition</a> for all branches in a project.<br>Requires the permission to browse the project
// ListRequest Lists the <a href="https://sonar-documentations-preview.netlify.app/sonarqube/project-administration/setting-up-clean-as-you-code/#setting-a-new-code-definition" target="_blank" rel="noopener noreferrer">new code definition</a> for all branches in a project.<br>Requires the permission to browse the project
type ListRequest struct {
Project string `url:"project"` // Project key
}
Expand All @@ -19,15 +19,15 @@ type ListResponse struct {
} `json:"newCodePeriods,omitempty"`
}

// SetRequest Updates the <a href="https://sonar-documentations-preview.netlify.app/sonarqube/project-administration/clean-as-you-code-settings/defining-new-code/" target="_blank" rel="noopener noreferrer">new code definition</a> on different levels:<br><ul><li>Not providing a project key and a branch key will update the default value at global level. Existing projects or branches having a specific new code definition will not be impacted</li><li>Project key must be provided to update the value for a project</li><li>Both project and branch keys must be provided to update the value for a branch</li></ul>Requires one of the following permissions: <ul><li>'Administer System' to change the global setting</li><li>'Administer' rights on the specified project to change the project setting</li></ul>
// SetRequest Updates the <a href="https://sonar-documentations-preview.netlify.app/sonarqube/project-administration/setting-up-clean-as-you-code/#setting-a-new-code-definition" target="_blank" rel="noopener noreferrer">new code definition</a> on different levels:<br><ul><li>Not providing a project key and a branch key will update the default value at global level. Existing projects or branches having a specific new code definition will not be impacted</li><li>Project key must be provided to update the value for a project</li><li>Both project and branch keys must be provided to update the value for a branch</li></ul>Requires one of the following permissions: <ul><li>'Administer System' to change the global setting</li><li>'Administer' rights on the specified project to change the project setting</li></ul>
type SetRequest struct {
Branch string `form:"branch,omitempty"` // Branch key
Project string `form:"project,omitempty"` // Project key
Type string `form:"type"` // Type<br/>New code definitions of the following types are allowed:<ul><li>SPECIFIC_ANALYSIS - can be set at branch level only</li><li>PREVIOUS_VERSION - can be set at any level (global, project, branch)</li><li>NUMBER_OF_DAYS - can be set at any level (global, project, branch)</li><li>REFERENCE_BRANCH - can only be set for projects and branches</li></ul>
Value string `form:"value,omitempty"` // Value<br/>For each type, a different value is expected:<ul><li>the uuid of an analysis, when type is SPECIFIC_ANALYSIS</li><li>no value, when type is PREVIOUS_VERSION</li><li>a number between 1 and 90, when type is NUMBER_OF_DAYS</li><li>a string, when type is REFERENCE_BRANCH</li></ul>
}

// ShowRequest Shows the <a href="https://sonar-documentations-preview.netlify.app/sonarqube/project-administration/clean-as-you-code-settings/defining-new-code/" target="_blank" rel="noopener noreferrer">new code definition</a>.<br> If the component requested doesn't exist or if no new code definition is set for it, a value is inherited from the project or from the global setting.Requires one of the following permissions if a component is specified: <ul><li>'Administer' rights on the specified component</li><li>'Execute analysis' rights on the specified component</li></ul>
// ShowRequest Shows the <a href="https://sonar-documentations-preview.netlify.app/sonarqube/project-administration/setting-up-clean-as-you-code/#setting-a-new-code-definition" target="_blank" rel="noopener noreferrer">new code definition</a>.<br> If the component requested doesn't exist or if no new code definition is set for it, a value is inherited from the project or from the global setting.Requires one of the following permissions if a component is specified: <ul><li>'Administer' rights on the specified component</li><li>'Execute analysis' rights on the specified component</li></ul>
type ShowRequest struct {
Branch string `url:"branch,omitempty"` // Branch key
Project string `url:"project,omitempty"` // Project key
Expand All @@ -41,7 +41,7 @@ type ShowResponse struct {
Type string `json:"type,omitempty"`
}

// UnsetRequest Unsets the <a href="https://sonar-documentations-preview.netlify.app/sonarqube/project-administration/clean-as-you-code-settings/defining-new-code/" target="_blank" rel="noopener noreferrer">new code definition</a> for a branch, project or global. It requires the inherited New Code Definition to be compatible with the Clean as You Code methodology, and one of the following permissions: <ul><li>'Administer System' to change the global setting</li><li>'Administer' rights for a specified component</li></ul>
// UnsetRequest Unsets the <a href="https://sonar-documentations-preview.netlify.app/sonarqube/project-administration/setting-up-clean-as-you-code/#setting-a-new-code-definition" target="_blank" rel="noopener noreferrer">new code definition</a> for a branch, project or global. It requires the inherited New Code Definition to be compatible with the Clean as You Code methodology, and one of the following permissions: <ul><li>'Administer System' to change the global setting</li><li>'Administer' rights for a specified component</li></ul>
type UnsetRequest struct {
Branch string `form:"branch,omitempty"` // Branch key
Project string `form:"project,omitempty"` // Project key
Expand Down
8 changes: 4 additions & 4 deletions sonarqube/new_code_periods_gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

type NewCodePeriods service

// List - Lists the <a href="https://sonar-documentations-preview.netlify.app/sonarqube/project-administration/clean-as-you-code-settings/defining-new-code/" target="_blank" rel="noopener noreferrer">new code definition</a> for all branches in a project.
// List - Lists the <a href="https://sonar-documentations-preview.netlify.app/sonarqube/project-administration/setting-up-clean-as-you-code/#setting-a-new-code-definition" target="_blank" rel="noopener noreferrer">new code definition</a> for all branches in a project.
// Requires the permission to browse the project
// Since 8.0
func (s *NewCodePeriods) List(ctx context.Context, r new_code_periods.ListRequest) (*new_code_periods.ListResponse, *http.Response, error) {
Expand All @@ -26,7 +26,7 @@ func (s *NewCodePeriods) List(ctx context.Context, r new_code_periods.ListReques
return v, resp, nil
}

// Set - Updates the <a href="https://sonar-documentations-preview.netlify.app/sonarqube/project-administration/clean-as-you-code-settings/defining-new-code/" target="_blank" rel="noopener noreferrer">new code definition</a> on different levels:
// Set - Updates the <a href="https://sonar-documentations-preview.netlify.app/sonarqube/project-administration/setting-up-clean-as-you-code/#setting-a-new-code-definition" target="_blank" rel="noopener noreferrer">new code definition</a> on different levels:
//
// * Not providing a project key and a branch key will update the default value at global level. Existing projects or branches having a specific new code definition will not be impacted
// * Project key must be provided to update the value for a project
Expand All @@ -47,7 +47,7 @@ func (s *NewCodePeriods) Set(ctx context.Context, r new_code_periods.SetRequest)
return resp, nil
}

// Show - Shows the <a href="https://sonar-documentations-preview.netlify.app/sonarqube/project-administration/clean-as-you-code-settings/defining-new-code/" target="_blank" rel="noopener noreferrer">new code definition</a>.
// Show - Shows the <a href="https://sonar-documentations-preview.netlify.app/sonarqube/project-administration/setting-up-clean-as-you-code/#setting-a-new-code-definition" target="_blank" rel="noopener noreferrer">new code definition</a>.
// If the component requested doesn't exist or if no new code definition is set for it, a value is inherited from the project or from the global setting.Requires one of the following permissions if a component is specified:
// * 'Administer' rights on the specified component
// * 'Execute analysis' rights on the specified component
Expand All @@ -65,7 +65,7 @@ func (s *NewCodePeriods) Show(ctx context.Context, r new_code_periods.ShowReques
return v, resp, nil
}

// Unset - Unsets the <a href="https://sonar-documentations-preview.netlify.app/sonarqube/project-administration/clean-as-you-code-settings/defining-new-code/" target="_blank" rel="noopener noreferrer">new code definition</a> for a branch, project or global. It requires the inherited New Code Definition to be compatible with the Clean as You Code methodology, and one of the following permissions:
// Unset - Unsets the <a href="https://sonar-documentations-preview.netlify.app/sonarqube/project-administration/setting-up-clean-as-you-code/#setting-a-new-code-definition" target="_blank" rel="noopener noreferrer">new code definition</a> for a branch, project or global. It requires the inherited New Code Definition to be compatible with the Clean as You Code methodology, and one of the following permissions:
// * 'Administer System' to change the global setting
// * 'Administer' rights for a specified component
//
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>security_hotspots</li><li>new_security_hotspots</li><li>alert_status</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>new_security_hotspots</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 @@ -288,6 +288,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>security_hotspots</li><li>new_security_hotspots</li><li>alert_status</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>new_security_hotspots</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 08d122b

Please sign in to comment.