The `gh` CLI is available on all of the runner images! https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#preinstalled-software That means you can just do: ```sh gh pr close "$PR" -c "$INPUT_MESSAGE" ```