pr

command
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2026 License: MIT Imports: 22 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

pr 命令实现仓库的受信 PR 门禁:校验 PR 元数据、解析 /test 触发与验证命令, 并在各平台执行声明过的命令、汇总结果。

包的组成:Stage、Command 与 Commands 表示声明过的验证命令,Whitelist 持有 允许执行的命令和路径规则。LoadWhitelist、Whitelist.Validate、ParseLine 与 NormalizeAndHash 构成解析与校验入口。子命令分发在 main,触发与有效命令解析在 resolve.go,执行与结果渲染在 verify.go。

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL