Hey folks\! We just shipped some brand-new REST API endpoints to make working with the [**new** **Projects API**](https://docs.github.com/en/rest/projects?apiVersion=2022-11-28) way easier and way more fun 🎯💥 #97
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: AI Moderator | |
| on: | |
| issues: | |
| types: [opened] | |
| issue_comment: | |
| types: [created] | |
| pull_request_review_comment: | |
| types: [created] | |
| jobs: | |
| spam-detection: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| models: read | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: github/ai-moderator@v1 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| spam-label: 'spam' | |
| ai-label: 'ai-generated' | |
| minimize-detected-comments: true | |
| enable-spam-detection: true | |
| enable-link-spam-detection: true | |
| enable-ai-detection: true |