File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -221,10 +221,15 @@ BASE_BRANCH_MAJOR_VERSION = if BASE_BRANCH == 'master'
221
221
end
222
222
223
223
def create_pull_request ( project_name , branch , custom_pr_comment , base = BASE_BRANCH )
224
+ body = [
225
+ "These are some updates, generated from rspec-dev's rake tasks." ,
226
+ custom_pr_comment
227
+ ] . join ( "\n \n " ) . strip
228
+
224
229
github_client . create_pull_request (
225
230
"rspec/#{ project_name } " , base , branch ,
226
231
"Updates from rspec-dev (#{ Date . today . iso8601 } )" ,
227
- [ "These are some updates, generated from rspec-dev's rake tasks." , custom_pr_comment ] . join ( " \n \n " )
232
+ body
228
233
)
229
234
end
230
235
@@ -372,7 +377,7 @@ namespace :common_plaintext_files do
372
377
end
373
378
374
379
desc "Updates the common plaintext files files and creates a PR"
375
- task :create_pr_with_updates :custom_pr_comment do |_t , args |
380
+ task :create_pr_with_updates , :custom_pr_comment do |_t , args |
376
381
force_update ( update_common_plaintext_files_in_repos , args [ :custom_pr_comment ] )
377
382
end
378
383
end
You can’t perform that action at this time.
0 commit comments