pi-tsgw 0.1.0 → 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/package.json
CHANGED
|
@@ -75,7 +75,7 @@ gh api 'repos/OWNER/REPO/contents/docs/Guide%20%28CI%29.md?ref=feature%2Fci'
|
|
|
75
75
|
gh release view TAG --repo OWNER/ACTION
|
|
76
76
|
```
|
|
77
77
|
|
|
78
|
-
3.
|
|
78
|
+
3. 项目明确策略优先。新增或升级 GitHub Actions 引用时,默认采用经核验的官方最新稳定主版本浮动引用 `owner/repo@vN`,不自动改成完整 SHA 或精确补丁版本。项目策略或用户明确要求固定版本时遵循其要求;SHA 应核对其与官方目标版本的对应关系。非依赖升级任务不顺手修改引用;既有固定策略的依据不明时先核验,不擅自解除固定。
|
|
79
79
|
4. 主版本升级前比较输入、输出、权限、最低 Runner 版本、托管或自托管 Runner 兼容性及 Action 自身的 Node 运行时。项目 `setup-node` 的版本与运行 Action 的 Node 版本不是一回事;可复用工作流还要核对输入、secrets 与调用契约。
|
|
80
80
|
5. 修改后重新静态枚举 `uses:`,逐项核对预期 ref;除迁移确有必要的变更外,保留 `with`、jobs、permissions、secrets 和触发行为。运行已有的本地验证,不擅自安装验证工具;远程 CI、发布验证仅在授权内执行。
|
|
81
81
|
6. 汇报引用前后值、官方依据、兼容性检查及未验证项。离线时不宣称“最新”或“已通过远程 CI”。
|