Skip to content

Commit b2f59ea

Browse files
committed
chore: add anti-slop PR quality workflow
1 parent ce086c4 commit b2f59ea

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

.github/workflows/pr-quality.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: PR Quality
2+
3+
permissions:
4+
contents: read
5+
issues: read
6+
pull-requests: write
7+
8+
on:
9+
pull_request_target:
10+
types:
11+
- opened
12+
- reopened
13+
- synchronize
14+
- edited
15+
- ready_for_review
16+
17+
jobs:
18+
anti-slop:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Screen pull request quality
22+
uses: peakoss/anti-slop@v0.2.1
23+
with:
24+
max-failures: 5
25+
require-pr-template: true
26+
blocked-terms: |
27+
OBSIDIAN1455
28+
blocked-paths: |
29+
SECURITY.md
30+
LICENSE
31+
CODE_OF_CONDUCT.md
32+
CODEOWNERS
33+
exempt-draft-prs: true
34+
close-pr: false
35+
lock-pr: false
36+
failure-pr-message: |
37+
Thanks for the contribution. This repository automatically screens pull requests for incomplete, low-signal, or non-compliant submissions before maintainers spend review time.
38+
39+
Please review CONTRIBUTING.md, complete the PR template with concrete summary and testing details, and update the PR if anything important is missing.
40+
41+
If this looks like a false positive, a maintainer can override the workflow with the `exempt` label after review.

0 commit comments

Comments
 (0)