diff --git a/app/models/repository.rb b/app/models/repository.rb
index cf2c08f618ee7152f1c5e747b64dc6bb60ebe5a4..4d350f937a624d644f7fdc162b72905756f4889b 100644
--- a/app/models/repository.rb
+++ b/app/models/repository.rb
@@ -799,9 +799,9 @@ class Repository
       author_name: author_name,
       source_branch: source_branch,
       source_project: source_project,
-      actions: [{action: :create,
-                 file_path: path,
-                 content: content}])
+      actions: [{ action: :create,
+                  file_path: path,
+                  content: content }])
   end
   # rubocop:enable Metrics/ParameterLists
 
@@ -825,10 +825,10 @@ class Repository
       author_name: author_name,
       source_branch: source_branch,
       source_project: source_project,
-      actions: [{action: action,
-                 file_path: path,
-                 content: content,
-                 previous_path: previous_path}])
+      actions: [{ action: action,
+                  file_path: path,
+                  content: content,
+                  previous_path: previous_path }])
   end
   # rubocop:enable Metrics/ParameterLists
 
@@ -845,8 +845,8 @@ class Repository
       author_name: author_name,
       source_branch: source_branch,
       source_project: source_project,
-      actions: [{action: :delete,
-                 file_path: path}])
+      actions: [{ action: :delete,
+                  file_path: path }])
   end
   # rubocop:enable Metrics/ParameterLists