Skip to content

Simple go utility to publish commits using the github graphql API

Notifications You must be signed in to change notification settings

Harry-Moore-dev/github-committer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Committer

This is a simple utility which creates a signed commit using the GitHub graphql API. It uses the GITHUB_TOKEN environment variable with an action to authenticate.

Installation

go install github.com/Harry-Moore-dev/github-committer@latest

Usage

Usage:
github-committer [OPTIONS]

Application Options:
-r, --repository= the repository to push commits to
-b, --branch=     the branch to push commits to (creates new branch if named branch doesn't exist)
-m, --message=    the commit message to use (default: updated with github-signer)
-p, --prmake=     automatically raises a pull request if set (default: false)

Help Options:
-h, --help        Show this help message

Example

github-committer -r Harry-Moore-dev/github-committer -b branchname -m 'example commit' -p

About

Simple go utility to publish commits using the github graphql API

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%