区分依赖关系安全性和版本更新拉的请求?
我们已经在存储库中启用了依赖性的安全漏洞,但也只是将其设置为版本化更新。我的理解是,后者的配置选项也会影响前者,尤其是在元数据选项时,例如设置PR标签或标题。
鉴于这一点,是否有一种方法可以区分依赖性依赖性的PR与安全漏洞打开的PR与它打开的PR,因为它只是过时的,对于我们要优先考虑前者的情况而已?
We've had Dependabot enabled for security vulnerabilities on our repos for a while, but just set it up for versioning updates as well. My understanding is that the configuration options for the latter can affect the former as well, particularly when it comes to the metadata options, like setting PR labels or titles.
Given that, is there a way to distinguish between PRs that Dependabot opens for security vulnerabilities versus ones it opens because it's simply out of date, for situations where we want to prioritize the former?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我今天遇到了完全相同的问题。我尚未找到一种将安全性PR和过时的PR与PRS本身区分开的方法,但是我已经弄清楚了一些事情:
disterabot.yml 配置文件。限制听起来像是它的硬编码为10 。
https://github.com/ [user]/[repo]/[repo]/security/dissectabot
。如果Displyabot为其中一个安全更新打开了PR,则它将在警报的右侧有一点拉动请求图标并链接。我希望这会有所帮助!我敢肯定我也缺少一些东西,所以我很想看到这个问题的其他答案。
I ran into the exact same problem today. I haven't yet found a way to distinguish between security PRs and out-of-date PRs from the PRs themselves, but I have figured a few things out:
dependabot.yml
config file. That limit sounds like its hardcoded to 10.https://github.com/[user]/[repo]/security/dependabot
. If Dependabot opened a PR for one of those security updates, it'll have a little pull request icon and link on the right-hand-side of the alert.I hope this helps! I'm sure I'm missing something as well, so I'll be keen to see other answers to this question.
使用 fetch-metadata 操作,您可以设置
arter> arter> arter-lookup:true ,这应该启用与安全性PR相关时填充的一些输出。缺点:需要使用PAT(没有尝试过GitHub应用程序令牌)
Using the fetch-metadata action, you can set
alert-lookup: true
, which should enable some outputs that are populated when the associated PR is security-related. Downside: requires use of a PAT (haven't tried a GitHub App token)