From ba023ef332db5d903af7a9ac93827454cfa39640 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Fri, 6 Mar 2026 12:36:24 -0800 Subject: [PATCH] Chore: Add anti-slop job to PR workflow (#12248) --- .github/workflows/pr-bot.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) 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/anti-slop@v0.2.1 + 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