This action moderates user-submitted content
openai-api-key
Required OpenAI API Key to use with this plugin.
Create .github/workflows/moderation.yml
with the follwoing content:
# TODO: Finish me
on:
issue_comment:
types: [created, edited]
uses: sgnn7/openai-moderation@<TODO>
with:
openai_api_key: ${{ secrets.OPENAI_API_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}