mirror of
https://github.com/langgenius/dify.git
synced 2026-04-05 10:25:48 +08:00
ci: add anti-slop GitHub Action to detect low-quality AI PRs (#33193)
Co-authored-by: GitHub User <user@example.com>
This commit is contained in:
17
.github/workflows/anti-slop.yml
vendored
Normal file
17
.github/workflows/anti-slop.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
name: Anti-Slop PR Check
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request_target:
|
||||||
|
types: [opened, edited, synchronize]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
pull-requests: write
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
anti-slop:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: peakoss/anti-slop@v0
|
||||||
|
with:
|
||||||
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
Reference in New Issue
Block a user