github.rb: correct one dry-run message

This commit is contained in:
Maxim Belkin 2021-06-17 19:32:10 +00:00
parent e4ad1a3f3f
commit d533017d38

View File

@ -498,7 +498,7 @@ module GitHub
ohai "git checkout --no-track -b #{branch} #{remote}/#{remote_branch}"
ohai "git commit --no-edit --verbose --message='#{commit_message}'" \
" -- #{changed_files.join(" ")}"
ohai "git push --set-upstream $HUB_REMOTE #{branch}:#{branch}"
ohai "git push --set-upstream #{remote_url} #{branch}:#{branch}"
ohai "git checkout --quiet #{previous_branch}"
ohai "create pull request with GitHub API (base branch: #{remote_branch})"
else