ghproj

module
v0.1.0-1 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: MIT

README

ghproj

Add GitHub Issues and Pull Requests to GitHub Projects.

Status

This project is still under development. Please don't use this yet.

Motivation

I manage a lot of OSS projects, so I have to handle a lot of issues and pull requests. So I want to manage them using GitHub User and Organization Projects.

e.g.

By executing ghproj periodically by GitHub Actions schedule event, you can add issues and projects to GitHub Projects automatically.

Install

Coming soon.

Usage

ghproj init # Scafold a configuration file ghproj.yaml
ghproj add # Add issues and pull requests to GitHub Projects

GitHub Access token

GitHub classic personal access token is required. The scope read:org and project are required.

[!CAUTION] fine-grained personal access token is unavailable because it doesn't support GitHub Projects. https://github.com/orgs/community/discussions/36441

There are also some APIs that do not yet support the fine-grained permission model, that we'll be adding support for in time:

  • Packages
  • Projects
  • Notifications

[!CAUTION] GitHub Access token generated by GitHub App is unavailable for GitHub User Project because the permission of GitHub User Project isn't supported

Configuration

ghproj.yaml

e.g.

# ghproj https://github.com/suzuki-shunsuke/ghproj
entries:
  - query: |
      is:open
      archived:false
      -project:suzuki-shunsuke/5
      -label:create
      owner:szksh-lab
      owner:lintnet
    project_id: PVT_kwHOAMtMJ84AQCf4

Run ghproj by GitHub Actions

Coming soon.

LICENSE

MIT

Directories

Path Synopsis
cmd
ghproj command
pkg
cli
log

Jump to

Keyboard shortcuts

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