pyOpenSci / buffy

Editorial bots generator used for pyosbot
https://pyos-bot-buffy.readthedocs.io/en/latest/
MIT License
1 stars 1 forks source link

Quesiton about github action responder #36

Closed lwasser closed 6 months ago

lwasser commented 6 months ago

hey @xuanxu 👋 i added a github action responded to trigger our update contributors workflow (which i need to fix - there is a bug).

I noticed that it isn't triggering the workflow. Is there something specific that i need to do to get that action to trigger when someone runs @pyosbot update website - you can see where i called the command here and the bot is still working as the help command works!

xuanxu commented 6 months ago

The config file looks good, this is most probably a permissions issue. I'm reading here that the bot's token needs the repo scope. Can you check it has it? If it is already there then I'd guess the bot has to be admin of the pyOpenSci/pyopensci.github.io repository.

lwasser commented 6 months ago

amazing. i didn't consider permissions. i just granted the bot maintainer level permissions to that repo and it ran!

lwasser commented 6 months ago

thank you!!

lwasser commented 6 months ago

ok i'll close this given it's working now 🚀 . i have a few more questions that i'll ask separately!