mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-20 11:45:57 +08:00
add has_actions to projects
This commit is contained in:
@@ -10,6 +10,7 @@ class Api::V1::SonarqubesController < Api::V1::BaseController
|
||||
Gitea::Repository::ActionSecretsService.new(@owner, @project.identifier, 'SONAR_HOST_URL', Rails.application.config_for(:configuration)['sonarqube']['url'] ).destroy
|
||||
Gitea::Repository::ActionSecretsService.new(@owner, @project.identifier, 'SONAR_TOKEN', Rails.application.config_for(:configuration)['sonarqube']['secret'] ).destroy
|
||||
end
|
||||
@project.update(gitea_params)
|
||||
render_ok
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user