-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (26 loc) · 898 Bytes
/
Copy pathself-check.yml
File metadata and controls
31 lines (26 loc) · 898 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Self Knowledge Diff Check
on:
pull_request:
types: [opened, synchronize, reopened]
permissions:
contents: write # needed for auto-patch branch creation
pull-requests: write # needed to post comments and open patch PRs
jobs:
knowledge-diff:
name: Check for Rationale Drift
if: github.actor != 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Run Knowledge Diff
uses: ./ # dogfood: run the action from this repo itself
with:
github-token: ${{ github.token }}
gemini-api-key: ${{ secrets.GEMINI_API_KEY }}
llm-provider: gemini
doc-files: "README.md,ARCHITECTURE.md,CLAUDE.md,docs/**/*.md"
code-extensions: "ts,js"
sensitivity: medium
auto-patch: "true"
comment-mode: update