sprig icon indicating copy to clipboard operation
sprig copied to clipboard

Create a bridge between submission PRs and Slack

Open leomcelroy opened this issue 9 months ago • 9 comments

Whenever someone submits a game a bot should post the submission text and a link to PR in the #sprig channel on Slack.

An even better version of this would also post a playable link to the game.

The objective would be to encourage community members to participate in review and giving feedback.

This could also be extended by automatically posting thread responses on the PR.

leomcelroy avatar Apr 29 '24 18:04 leomcelroy

Willing to take this on, could be automated with a github action that checks the pr for the submission label and then posts to #sprig.

GalaxyGamingBoy avatar May 02 '24 20:05 GalaxyGamingBoy

Wouldn't this be as simple as an airtable automation?

grymmy avatar May 06 '24 17:05 grymmy

What exactly is the scope of games here? Will we use this to announce the accepted games or act like a way for the community to interact and review games

GalaxyGamingBoy avatar May 06 '24 17:05 GalaxyGamingBoy

The latter. Any new submission should get a post.

Looking down the line comments on threads of the submission should also be posted. And github comments posted in the thread.

leomcelroy avatar May 07 '24 02:05 leomcelroy

@leomcelroy can you please describe exactly the copy you want here, and exactly what situations you want to trigger the messages? An example or two would be good to ensure we implement it exactly how you want it.

For new submissions I assume it'll be something like "A new sprig game was submitted! Check it out!" or something, with some link or whatever... but if you could be specific so we don't have to assume anything, that would be ideal.

grymmy avatar May 07 '24 16:05 grymmy

When someone PRs a new game submission the bot should post to the Slack.

A new Sprig game was submitted! Check out {gameName} just shared by {person}!

You can play it [here](link to game).

{Screenshot of game}

Comment on this thread to leave feedback on GitHub.

leomcelroy avatar May 09 '24 15:05 leomcelroy

Seems good, I already have a message done to be submitted in that case.

GalaxyGamingBoy avatar May 09 '24 15:05 GalaxyGamingBoy

@grymmy Do we want to use a slack bot with this? That would require integration with a backend, I don't recall if we have one. I

GalaxyGamingBoy avatar May 09 '24 15:05 GalaxyGamingBoy

Slack bot seems fine if what we desire is auto-post slack msg in #sprig with above copy only on first PR open...

grymmy avatar May 13 '24 17:05 grymmy