781a95f5bc
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
28 lines
663 B
YAML
28 lines
663 B
YAML
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@v6
|
|
- 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 |