mybinder.org-deploy icon indicating copy to clipboard operation
mybinder.org-deploy copied to clipboard

Add a bot reminder with best-practices and links before resource bumps are granted

Open choldgraf opened this issue 5 years ago • 8 comments

After a recent event with SciPy 2020, we discussed that it might help avoid future problems if we let users know about some best-practices around events with Binder. Perhaps this could happen in the form of a bot that provided a follow-up message to our resource allocation issues. maybe @GeorgianaElena could help with this if folks are interested?

I also opened up https://github.com/jupyterhub/binder/issues/200 to brainstorm some best-practices for events...

choldgraf avatar Jul 13 '20 23:07 choldgraf

I think this is a great idea @choldgraf and I'll be happy to help setting up some form of automated follow up messages.

But I'm not sure if there's an existing bot we can use that does something based on the issue template being used.

Instead, I believe we could use GitHub actions directly for this (at some point I tried simulating the request-info bot with actions here: https://github.com/GeorgianaElena/.github/issues/34#issuecomment-634075328), so I don't think it should be very hard.

cc @hamelsmu :sunflower:

GeorgianaElena avatar Jul 17 '20 11:07 GeorgianaElena

I'm happy to help -- although looks like @GeorgianaElena already has a nice working solution 🙇

hamelsmu avatar Jul 17 '20 15:07 hamelsmu

@GeorgianaElena do you think you could figure out the GHA bit yourself? Or did you hit any walls that @hamelsmu might be able to help with?

I think an easy thing could be to just have a GHA that is triggered when somebody opens an issue w/ the tag that is automatically added by our "resources request" template.

choldgraf avatar Jul 18 '20 19:07 choldgraf

Here is an example of an Action triggered by an issue in case it is helpful

hamelsmu avatar Jul 18 '20 21:07 hamelsmu

Here is an example of an Action triggered by an issue in case it is helpful

That's very useful @hamelsmu, thank you very much :heart: (The workflows in fastpages helped a lot in creating the prototype of GHA request-info-bot too)

@GeorgianaElena do you think you could figure out the GHA bit yourself? Or did you hit any walls that @hamelsmu might be able to help with?

It's already super nice to know that @hamelsmu is so kind and willing to answer GHA questions. I'll let you know if/when I hit any walls and when I'll have something reviewable (but after the JupyterCon deadline :sweat_smile:)

GeorgianaElena avatar Jul 20 '20 12:07 GeorgianaElena

I have something working :tada: Example here: https://github.com/GeorgianaElena/.github/issues/39 Code here: https://github.com/GeorgianaElena/.github/blob/master/.github/workflows/best_practices.yml

GeorgianaElena avatar Jul 21 '20 15:07 GeorgianaElena

gosh GHA are cool!

way to go @GeorgianaElena - you are a 🧙‍♀️

choldgraf avatar Jul 21 '20 15:07 choldgraf

Looks great

hamelsmu avatar Jul 21 '20 17:07 hamelsmu