in generate_plugin_placeholder.rb [43:55]
def submit_pr
branch_name = "new_plugin_placeholder"
git_helper = GitHelper.new("elastic/logstash-docs")
if git_helper.branch_exists?(branch_name)
puts "WARNING: Branch \"#{branch_name}\" already exists. Aborting creation of PR. Please merge the existing PR or delete the PR and the branch."
return
end
pr_title = "A placeholder for new plugin"
git_helper.commit(logstash_docs_path, branch_name, "create an empty placeholder for new plugin")
git_helper.create_pull_request(branch_name, "versioned_plugin_docs", pr_title, "", { draft: true })
end