Not the name of the branch were the changes should pulled into is
needed. The name of the current branch must be determined.
Signed-off-by: Tim Krüger <t@timkrueger.me>
The GitHub API response contains the base branch in which the changes should
pulled into. This is now extracted with 'jq' from the response.
Also some Shellcheck issues were fixed.
Signed-off-by: Tim Krüger <t@timkrueger.me>