urlchecker-action icon indicating copy to clipboard operation
urlchecker-action copied to clipboard

Question: how to implement action to respond to comments?

Open vsoch opened this issue 4 years ago • 6 comments

This is just a random idea I thought would be cool - we could have an action that responds to issue comments,and looks for a particular string (like @urlchecker-action check) and then it could do some special check for a url.

@maelle you just gave me a really cool idea - we could have some kind of action / bot that responded to /check-urls (or something like @urlchecker-action check-urls. I've never made a bot before, but I'll note it because it would be cool to have!

Definitely not priority - but would be fun to figure out how to do!

vsoch avatar Apr 14 '20 17:04 vsoch

I am glad spamming you with my request for help gave you an idea, I feel less bad 😉

maelle avatar Apr 14 '20 18:04 maelle

You are kind, and helpful, you should not feel bad. There are plenty of folks out there that are not kind, and that is what makes a dinosaur sad. For your pings, it is my pleasure to help :)

vsoch avatar Apr 14 '20 19:04 vsoch

This is a great idea, I love it! broken links issues are quite frequent so this is Genius ;) @maelle you helped push& improve things so that is great help at these weird times where slacking and depression can be looming in the corner. Gotta keep the dinosaur happy :P

SuperKogito avatar Apr 14 '20 21:04 SuperKogito

I saw this whilst looking for something else https://github.com/JuliaCI/Nanosoldier.jl

maelle avatar Apr 15 '20 10:04 maelle

oh that's wicked @maelle ! I should make something like that for our cluster, and especially beautiful is how it uploads results to a repo (for metrics). And yes, that's spot on the idea about commenting in a comment. But what would be the context for the check? For example, why would I comment in an issue, or PR - what links would I want to check?

vsoch avatar Apr 15 '20 17:04 vsoch

Good questions. Although in a PR, you'd check changed files so that part is easy. Now as to why, I'm not sure!

maelle avatar Apr 15 '20 18:04 maelle