Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Chore: Add anti-slop job to PR workflow (#12248)

shamoonba023ef332db
diff --git a/.github/workflows/pr-bot.yml b/.github/workflows/pr-bot.yml
index 7f3b97a1e..f36e9cd9f 100644
--- a/.github/workflows/pr-bot.yml
+++ b/.github/workflows/pr-bot.yml
@@ -2,13 +2,24 @@ name: PR Bot
on:
pull_request_target:
types: [opened]
-permissions:
- contents: read
- pull-requests: write
jobs:
+ anti-slop:
+ runs-on: ubuntu-latest
+ permissions:
+ contents: read
+ issues: read
+ pull-requests: write
+ steps:
+ - uses: peakoss/[email protected]
+ with:
+ max-failures: 4
+ failure-add-pr-labels: 'ai'
pr-bot:
name: Automated PR Bot
runs-on: ubuntu-latest
+ permissions:
+ contents: read
+ pull-requests: write
steps:
- name: Label PR by file path or branch name
# see .github/labeler.yml for the labeler config