I'd like to create a Github action that automatically labels issues of my Patreon supporters.
I created a file with the supporters' Github usernames:
./github/supporters.json
{
usernames: [
'test1',
'test2'
]
}
(I can change the file to any other format, if that would make it easier)
How do I check if the issue was created by a user on the list?
I've been thinking about using this marketplace action: https://github.com/marketplace/actions/super-labeler
But it seems like it only accepts a Regex pattern. Should I just list usernames in the Regex directly?