walkmana-25/GitHub Content Moderator

Moderates content in issues, PRs, and comments using the OpenAI API.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github-tokenThe GitHub token.yes${{ github.token }}
openai-api-keyThe OpenAI API key. If not provided, the `github-token` will be used to authenticate with the GitHub Copilot API.no""
openai-endpointThe OpenAI API endpoint.nohttps://models.github.ai/inference
openai-modelThe OpenAI model to use.noopenai/gpt-4.1-mini
text-to-moderateThe text to moderate. If not provided, will be auto-populated from the event (title + body for Issues/PRs/Discussions, body only for comments).no""
retry-countThe number of times to retry the OpenAI API call on failure.no3
namedescription
is-inappropriateWhether the content was flagged as inappropriate.
flagged-categoriesA comma-separated list of flagged categories.
moderation-results-jsonThe full JSON response from the OpenAI API.