OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
validate presence of type as it must not be null
Markus Kahl6c4754188fda
diff --git a/modules/github_integration/app/models/deploy_target.rb b/modules/github_integration/app/models/deploy_target.rbindex decbcf0b11e..92563c45d8b 100644--- a/modules/github_integration/app/models/deploy_target.rb+++ b/modules/github_integration/app/models/deploy_target.rb@@ -34,7 +34,7 @@ class DeployTarget < ApplicationRecordhas_many :deploy_status_checks, dependent: :destroyvalidates_presence_of :host-+ validates_presence_of :type# this is very much specific to the only type of target we support for now, OpenProjectvalidates_presence_of :api_keyend