github-releases-notify-bot icon indicating copy to clipboard operation
github-releases-notify-bot copied to clipboard

Support for private repositories

Open nSimonFR opened this issue 5 years ago • 2 comments

I'd love to get your fancy notifications when private repos push new releases !

nSimonFR avatar Oct 02 '18 18:10 nSimonFR

Hi @pyatyispyatil. I wanted to work on this if you do not mind.

I see that this bot works with one static GitHub token. As private repos are individual for each user, we should take GitHub token from user as well. But with current implementation I am not sure if it is possible.

So I wanted to move repo data inside users in this case it will be individual for each of them. The disadvantage is that it same repos will be fetch multiple times.

What do you think about it?

doniyor2109 avatar Sep 26 '21 10:09 doniyor2109

@doniyor2109 I think it would be preferable to add the ability to add a separate token through the bot UI in Telegram using a separate button. Well, also add an alert when adding a new repository, if it is suddenly private and the user does not have an individual token.

IMHO, the main use of the bot should be with the main github token so that users don't think too much about it.

For the rest, I'm glad you decided to take on this task.)

pyatyispyatil avatar Sep 28 '21 11:09 pyatyispyatil