Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support github token for private repositories/avoid rate-limit #38

Open
jaedle opened this issue Dec 22, 2019 · 2 comments
Open

Support github token for private repositories/avoid rate-limit #38

jaedle opened this issue Dec 22, 2019 · 2 comments

Comments

@jaedle
Copy link

jaedle commented Dec 22, 2019

I would really like to use this cool tool for some projects which are hosted within a private github repository. To do so there should be a chance to add a github-token to access them.

Even though this could fix problems related to rate-limits.

The configuration could look like this:

overseer.Run(overseer.Config{
		Program: prog,
		Fetcher: &fetcher.Github{
			User:     "jaedle",
			Repo:     "overseer",
			Interval: time.Minute,
			Token:    "super-secret-token",
		},
	})

Are you welcoming pull requests for this feature?

@jpillora
Copy link
Owner

Yes, adding a new Token option would be a welcome PR (just take care not to edit the existing methods/fields)

@Sggoodman
Copy link

It does not appear to have been added so far...

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

No branches or pull requests

3 participants