add has_actions to projects

This commit is contained in:
kingChan
2024-06-20 14:10:51 +08:00
parent 32b40487f6
commit ec01552818
20 changed files with 99 additions and 75 deletions

View File

@@ -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