#!/bin/bash set -o pipefail org='PokeAPI' data_repo='api-data' branch_name='testbranch' prepare() { mkdir -p ./testpr cd testpr || exit } clone() { git clone "https://github.com/$org/$data_repo.git" "$data_repo" cd "$data_repo" || exit } configure_git() { git config --global user.name "pokeapi-machine-user" git config --global user.email pokeapi.co@gmail.com } push() { git checkout -b "$branch_name" touch .gitkeeptestpr git add . git commit -m "play: add test file" git push -uf origin "$branch_name" } pr_content() { cat <