Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Dependabot docs disagree on when the ecosystem label is added, and on its name (github-actions vs github_actions)

未关闭 适合新手
#46,230 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
1/5
预计耗时
1-3 小时
新手友好度
83/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
领域
documentation

调研方向

阅读选项参考中关于 Dependabot 默认行为的部分,以及提供自定义文章文本的 data/reusables/dependabot/default-labels.md。统一两篇文章中的生态系统标签规则,并将 GitHub Actions 示例改为 github_actions。当两处描述一致且示例与报告的标签名称相符时,即为完成。

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

描述

builder persona triage
Code of Conduct
What article on docs.github.com is affected?
What part(s) of the article would you like to see updated?

The two articles describe Dependabot's default labels in ways that contradict each other:

  1. When the ecosystem label is added. The options reference (labels → "Dependabot default behavior") says the ecosystem label is added only when more than one package manager is defined. The customizing article (the default-labels reusable) says both the dependencies label and the ecosystem label are added to all pull requests, single-ecosystem updates included. Both can't be right; the observed behavior matches the second (see below).

  2. The name of the GitHub Actions ecosystem label. The reusable uses github-actions as an example, but the label Dependabot actually creates and applies is github_actions, with an underscore.

Expected outcome: both articles state the same rule for the ecosystem label, and the GitHub Actions example uses the label name Dependabot really applies.

Additional information

Reproduced in a private repository whose dependabot.yml has a single entry (package-ecosystem: github-actions, no labels option) and that had neither label beforehand. Dependabot's first version-update pull request created both labels and applied them: the pull request's events show dependabot[bot] adding dependencies and github_actions. The github_actions label it created had the description "Pull requests that update GitHub Actions code".

主要语言
TypeScript
星标
21k
派生
69k
平均合并
8 小时 37 分钟
30 天内合并 PR
117

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

github/docs 的其他 Issue

查看 github/docs 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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