ghi
ghi copied to clipboard
GHI_REPO Should override local repository
I want to use ghi
in a cron job to open a new issue when certain errors are detected.
I am not running ghi
inside any local Git repos. I have set GITHUB_USER
, GHI_TOKEN
and GHI_REPO
environment variables.
I can list issues from my repository with ghi list
, but when I try to modify an issue, ghi
fails with the message:
~/bin/ghi:1142:in `authorize!': undefined method `repo' for GHI:Module (NoMethodError)
from ~/bin/ghi:111:in `rescue in execute'
from ~/bin/ghi:26:in `execute'
from ~/bin/ghi:3157:in `<main>'
I installed with curl