ojob.io/git/githubCheckIn

Usage

ojob ojob.io/git/githubCheckIn username=unknown email=abc@xyz.com message=updates title="Updates PR" branch=my-branch body="automated PR" bodyFile=body.md 

Description

Tries to commit any current changes and, if it fails, create a pull request and merge it in GitHub (requires GitHub cli)

Expects

Name Description
username The GitHub username for commit identification
email The GitHub email for commit identification
message The commit message to use
title The pull request title, if needed
branch The branch associated with the pull request, if needed
body The text to include in the body of the pull request, if needed
bodyFile In alternative of 'body' from a markdown file to include in the body of the pull request, if needed