Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

GHI_REPO Should override local repository #360

Open
pathawks opened this issue Feb 15, 2018 · 1 comment
Open

GHI_REPO Should override local repository #360

pathawks opened this issue Feb 15, 2018 · 1 comment

Comments

@pathawks
Copy link

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>'
@pathawks
Copy link
Author

I installed with curl

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant