Open qmacro opened 3 years ago
I was actually thinking of this scenario, when working on my setup. I came to the conclusion that as long as the safe guards do their jobs, and prevent publication, all interactions (as long as they're not hostile) are well intended and an invitation for a conversation. While I don't think I'm exposed enough to get any traffic in my repo, and the subject of my setup not as inviting as yours, I plan to handle it with moderation and a new tag for sorting.
Yes, I think you're right @rsletta - that's how I was leaning yesterday, and having slept on it, I've reached the same conclusion.
One consequence of using repo issues for journal entries is that it's quite open.
I just noticed that someone has added an issue (#14) recently and I'm currently not quite sure how I feel about it. The content of the issue is innocuous enough, and I think on balance I currently like how open things are. I've made efforts in the mechanics to guard against this sort of thing in that issues that are not created by me are not going to trigger any sort of update or processing.
In the workflow (which is triggered when an issue is created or updated), there are two jobs,
generate
(generate the feed and recent content flow) andtweet
(tweet that there's a new entry).The
generate
job has anif
condition like this:This checks that the
actor
(the person involved in the event that triggered the workflow) is the same person as therepository_owner
, in other words, me. It also checks that the issue has theentry
label (see #9 as to why this is).The second job,
tweet
, also has anif
condition, like this:This ensures that a tweet is only sent when an issue is created, not also if it's updated.
But the
tweet
job also has this:Which means that
tweet
only runs ifgenerate
completes successfully. Which in turn implies thatgenerate
's checks also apply here, indirectly.That's good enough for me for now.
I'm still not sure how I want to proceed with this external issue. I'll have to think about it. It's a chance for engagement, but perhaps I should just automatically delete them. Let's see.