There is a public repository that I don’t own and am also not part of.
I’m interested in listening to security advisory events and taking action once a new one is created. Is it possible to do?
What is the error message (if any)?
##Problem running workflow
*Check that the repository exists and that you have permission to create the webhooks this node requires*
I have not tried it myself but it looks like there is an API to get the security advisories (Repository security advisories - GitHub Docs) so you could do this with the HTTP Request node and use the published_at field to see if it has been published since the last workflow execution.
What I tend to do is run a schedule that triggers every 30 minutes then I check the date by seeing if {{ $now.minus({minutes: 30}) }} was before the date I want to compare against. The workflow example below should get you started.
That would depend on if GitHub make that available in their API, If we were to make a node for it we would probably do the same thing the workflow is doing which is our standard polling approach for services that don’t have a webhook offering.