diff --git a/.aislop/config.yml b/.aislop/config.yml new file mode 100644 index 0000000..853df6b --- /dev/null +++ b/.aislop/config.yml @@ -0,0 +1,21 @@ +version: 1 + +exclude: + - node_modules + - .git + - dist + - build + - coverage + - .next + - .turbo + - .data + - "**/.data/**" + - "**/evidence-uploads/**" + +rules: + ai-slop/narrative-comment: warning + ai-slop/trivial-comment: warning + security/hardcoded-secret: error + +ci: + failBelow: 0 \ No newline at end of file diff --git a/.github/workflows/aislop.yml b/.github/workflows/aislop.yml new file mode 100644 index 0000000..433d9bd --- /dev/null +++ b/.github/workflows/aislop.yml @@ -0,0 +1,29 @@ +name: aislop Quality Gate + +on: + pull_request: + push: + branches: + - main + workflow_dispatch: + +permissions: + contents: read + +jobs: + quality-gate: + name: aislop + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: 22.18.x + cache: npm + + - name: Run aislop + run: npx --yes aislop@0.9.4 ci . \ No newline at end of file