interplane.Get Omega
Read in your language

spark-inquisitor

Ultra-fast compiled native Rust gatekeeper and automated code reviewer

Brought by drakestapleton

branch main Branches Tags History

spark-inquisitor / action.yml

88 lines · 2910 bytes Raw Blame History
1name: "Sovereign Inquisitor"
2description: "Ultra-fast compiled native Rust GitHub Action for diff auditing, zero-telemetry enforcement, and automated triage without Node.js CPU bloat."
3author: "Drake Stapleton <drake.aien@proton.me> & AIEN <aien.atlas@proton.me>"
4
5inputs:
6 command:
7 description: "Inquisitor command: review, triage-issue, interview, audit, evaluate, probe, or doctor"
8 required: true
9 default: "review"
10 diff:
11 description: "Path to git diff file"
12 required: false
13 default: "pr.diff"
14 author:
15 description: "GitHub username of PR or issue author"
16 required: false
17 default: "contributor"
18 pr:
19 description: "Pull request number"
20 required: false
21 default: "0"
22 title:
23 description: "Pull request or issue title"
24 required: false
25 default: "Contribution"
26 output-comment:
27 description: "Path to write generated markdown comment"
28 required: false
29 default: "comment.md"
30 output-labels:
31 description: "Path to write comma-separated labels"
32 required: false
33 default: "labels.txt"
34
35runs:
36 using: "composite"
37 steps:
38 - name: Run Sovereign Inquisitor
39 shell: bash
40 run: |
41 case "${{ inputs.command }}" in
42 doctor)
43 spark-inquisitor doctor
44 ;;
45 probe)
46 spark-inquisitor probe \
47 --diff "${{ inputs.diff }}" \
48 --output "${{ inputs.output-comment }}"
49 ;;
50 review)
51 spark-inquisitor review \
52 --diff "${{ inputs.diff }}" \
53 --author "${{ inputs.author }}" \
54 --pr "${{ inputs.pr }}" \
55 --title "${{ inputs.title }}" \
56 --output "${{ inputs.output-comment }}" \
57 --output-labels "${{ inputs.output-labels }}"
58 ;;
59 triage-issue)
60 spark-inquisitor triage-issue \
61 --author "${{ inputs.author }}" \
62 --issue "${{ inputs.pr }}" \
63 --title "${{ inputs.title }}" \
64 --body "${{ inputs.diff }}" \
65 --output-comment "${{ inputs.output-comment }}" \
66 --output-labels "${{ inputs.output-labels }}"
67 ;;
68 interview)
69 spark-inquisitor interview \
70 --author "${{ inputs.author }}" \
71 --pr "${{ inputs.pr }}" \
72 --title "${{ inputs.title }}"
73 ;;
74 audit)
75 spark-inquisitor audit \
76 --diff "${{ inputs.diff }}"
77 ;;
78 evaluate)
79 spark-inquisitor evaluate \
80 --testimony "${{ inputs.diff }}" \
81 --author "${{ inputs.author }}" \
82 --output-comment "${{ inputs.output-comment }}" \
83 --output-labels "${{ inputs.output-labels }}"
84 ;;
85 *)
86 spark-inquisitor "${{ inputs.command }}"
87 ;;
88 esac