in versioned_plugins.rb [241:253]
def submit_pr
branch_name = "versioned_docs_new_content"
git_helper = GitHelper.new("elastic/logstash-docs")
if git_helper.branch_exists?(branch_name)
puts "WARNING: Branch \"#{branch_name}\" already exists. Not creating a new PR. Please merge the existing PR or delete the PR and the branch."
return
end
pr_title = "auto generated update of versioned plugin documentation"
git_helper.commit(logstash_docs_path, branch_name, "updated versioned plugin docs")
git_helper.create_pull_request(branch_name, "versioned_plugin_docs", pr_title, "")
end