1- # AI Spam Guard
1+ # AI Moderator
22
33An AI-powered GitHub Action that automatically detects and moderates spam in
44issues and comments using LLMs.
@@ -10,7 +10,7 @@ write your own custom prompt if you've got more specific requirements.
1010## Usage
1111
1212Add this action to your repository's workflow file (e.g.,
13- ` .github/workflows/spam-guard .yml ` ):
13+ ` .github/workflows/moderator .yml ` ):
1414
1515``` yaml
1616name : AI Spam Guard
3232 contents : read
3333 steps :
3434 - uses : actions/checkout@v4
35- - uses : github/ai-spam-guard
35+ - uses : github/ai-moderator
3636 with :
3737 token : ${{ secrets.GITHUB_TOKEN }}
3838 spam-label : ' spam'
@@ -83,7 +83,7 @@ All prompts are enabled by default. You can selectively disable them based on
8383your repository's moderation needs:
8484
8585``` yaml
86- - uses : github/ai-spam-guard
86+ - uses : github/ai-moderator
8787 with :
8888 token : ${{ secrets.GITHUB_TOKEN }}
8989 enable-spam-detection : true # Enable general spam detection
@@ -92,7 +92,7 @@ your repository's moderation needs:
9292` ` `
9393
9494You can iterate on or tweak these prompts via the
95- [Models tab](https://github.com/github/ai-spam-guard /models) on this repository.
95+ [Models tab](https://github.com/github/ai-moderator /models) on this repository.
9696If you want to push an update to this prompt, please also include updated test
9797data so we can see the effect of the prompt update.
9898
@@ -102,7 +102,7 @@ You can also provide your own custom prompt file in your repository using the
102102` custom-prompt-path` input:
103103
104104` ` ` yaml
105- - uses: github/ai-spam-guard
105+ - uses: github/ai-moderator
106106 with:
107107 token: ${{ secrets.GITHUB_TOKEN }}
108108 custom-prompt-path: '.github/prompts/my-custom-spam-detection.prompt.yml'
0 commit comments