github / github/branch-deploy

Add an option to fail on a skipped check

未关闭
#384 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
question
主要语言
TypeScript
星标
577
派生
74
平均合并
11 小时 7 分钟
30 天内合并 PR
1

描述

### Details

We have a scenario where we want to skip a certain check for the development environment but not for stage and production. With the current setup (as I understand it from looking at the code here [link](https://github.com/github/branch-deploy/blob/d1f158e5cd122a1db00e8ba49044134fd641ae21/dist/index.js#L44046C9-L44046C29)) skipped check is considered healthy. It would be convient for us to have an option like skipped_checks: true/false (fail if it is set to false as we would like it to be here)

贡献指南

打开贡献指南

调研方向

从链接位置的 dist/index.js 中跳过检查的处理开始,然后跟踪检查结果和配置选项是如何被解析和评估的。确认 skipped_checks 之类的选项会如何影响 deployment checks,并验证在进行相应配置时可以将跳过的检查视为失败,同时不改变现有的默认行为。

由索引模型根据 Issue 内容生成。

评估

技术栈
github-actions, typescript
领域
ci-cd, devops
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。