proof-pr 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,27 @@
1
+ # proof-pr
2
+
3
+ ProofPR 的命令行工具。
4
+
5
+ ProofPR 帮助维护者在投入深入 review 之前,先检查 PR 的证据、范围和安全风险。
6
+
7
+ ## 使用
8
+
9
+ 可以直接通过 npm 使用:
10
+
11
+ ```bash
12
+ npx proof-pr init
13
+ npx proof-pr scan --base origin/main --head HEAD
14
+ npx proof-pr scan --base origin/main --pr-body-file pr-body.md --format json
15
+ ```
16
+
17
+ ## GitHub Action
18
+
19
+ ```yaml
20
+ - uses: linsk27/proof-pr@v0.1.1
21
+ with:
22
+ fail-on: high
23
+ ```
24
+
25
+ 完整文档见仓库 README:
26
+
27
+ https://github.com/linsk27/proof-pr
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ export {};