如何将 DCO(开发证书来源)添加到 Snyk 自动生成的 PR

how to add DCO (Dev Certificate Origin) to Snyk auto-generated PRs

我们最近集成了 Snyk in our github project and Snyk has this cool feature to "open a fix PR" for the vulnerability that it can directly fix ... The PR is opened up but our CI/CD pipeline expects a DCO,即提交签核...但是,Snyk 不会签核提交,我也无法在文档中找到启用它的选项。

参考PR,请勾选Kubearmor PR#542

您需要在本地拉取 PR 更改并签署它们。

注销的目的是表明您已经查看了这些更改,而不仅仅是为了验证作者的身份。您仍然可以签署 Snyk 所做的提交。

但是 GitHub 不会代表您在 PR 中这样做。