Dependabot docs disagree on when the ecosystem label is added, and on its name (github-actions vs github_actions)
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 1/5
- Geschätzter Aufwand
- 1-3 Stunden
- Anfängerfreundlichkeit
- 83/100
- Issue-Typ
- Dokumentation
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Bereich
- documentation
Rechercherichtung
Lies den Abschnitt der Optionsreferenz zum Standardverhalten von Dependabot und data/reusables/dependabot/default-labels.md, das den Text für den Artikel zur Anpassung bereitstellt. Stimme die Regel für Ecosystem-Labels in beiden Artikeln aufeinander ab und ändere das GitHub Actions-Beispiel zu github_actions. Fertig ist die Aufgabe, wenn die beiden Beschreibungen übereinstimmen und das Beispiel dem gemeldeten Labelnamen entspricht.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Code of Conduct
- I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
- https://docs.github.com/en/code-security/reference/supply-chain-security/dependabot-options-reference#labels--
- https://docs.github.com/en/code-security/tutorials/secure-your-dependencies/customizing-dependabot-prs (its default-labels text comes from
data/reusables/dependabot/default-labels.md)
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:
-
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 (thedefault-labelsreusable) says both thedependencieslabel 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). -
The name of the GitHub Actions ecosystem label. The reusable uses
github-actionsas an example, but the label Dependabot actually creates and applies isgithub_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".
- Vorherrschende Sprache
- TypeScript
- Sterne
- 21k
- Forks
- 69k
- Ø Merge
- 8 Std. 37 Min.
- Gemergte PRs (30 T.)
- 117
Entwicklungsumgebung
Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus github/docs
-
content triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
github/docs#46232 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
content driver persona triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag
-
triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
github/docs#46222 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
builder persona content
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
github/docs#46190 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Add user-level custom agent configurationEvtl. vergeben @ashis-baral hat das vor 6 Tagen übernommen. Offenbuilder persona content copilot
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 90/100
Maintainer antworten meist innerhalb von 1 Tag
Ähnliche Issues
-
[bug] diagnostics.dumpBody:Buffer 形态请求(透传 lane)跳过 dumps/ 落盘,仅留 raw/-unknown-Evtl. vergeben @ranxianglei hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
ranxianglei/billion-context#2421 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
pending triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
nuxt/test-utils#1842 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
MoonshotAI/kimi-code#4146 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
farbenmeer/tapi#531 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
Maintainer antworten meist innerhalb von 1 Tag