github-releases-notify-bot
github-releases-notify-bot copied to clipboard
Support for private repositories
I'd love to get your fancy notifications when private repos push new releases !
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 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.)