ghp-sync

command module
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2026 License: GPL-3.0 Imports: 4 Imported by: 0

README

ghp-sync

GitHub release Go Version License build lint CodeQL

This is an application for dealing with GitHub Project Boards. This is intended to make sorting through issues and PRs in large repos faster and easier via the GitHub Project Board.

It can automatically add Issues or PRs to Project Boards based on the repo, organization, and project number.

When adding Issues to Project Boards with the Issue # and number of Days Open.

ghp-sync is still a work in progress with more automation to come in future!

Installation

To install ghp-sync from the command line, you can run:

go install ghp-sync

Commands

Add issues labeled bug to a GitHub project board and fill the Issue # and Open Days columns

Adds issues labeled bug to a GitHub project board and fill the Issue # and Open Days columns

Examples
  • Add issues labeled bug based on the organization name, repo name, and project number of the board to add it to:
go run main.go issues -o GITHUB_ORG -p GITHUB_PROJECT_NUMBER -r GITHUB_REPO -t GITHUB_TOKEN -l bug

Notes

  • A GitHub access token is required to make the requests and is set via the environment variable GITHUB_TOKEN
  • The GitHub CLI tool gh needs to be installed

Documentation

Overview

Ghp-sync syncs GitHub issues and pull requests to a GitHub Project board.

Directories

Path Synopsis
Package cli implements the ghp-sync command line interface.
Package cli implements the ghp-sync command line interface.
lib
gh
Package gh wraps the GitHub REST and GraphQL APIs for syncing issues, PRs, and project items.
Package gh wraps the GitHub REST and GraphQL APIs for syncing issues, PRs, and project items.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL