Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta Adatta ai principianti
#46,230 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
1/5
Tempo stimato
1-3 ore
Idoneità per principianti
83/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Ambito
documentation

Direzione di ricerca

Leggi la sezione di riferimento delle opzioni sul comportamento predefinito di Dependabot e data/reusables/dependabot/default-labels.md, che fornisce il testo dell’articolo sulla personalizzazione. Allinea la regola delle etichette dell’ecosistema nei due articoli e modifica l’esempio di GitHub Actions in github_actions. Il lavoro è completato quando le due descrizioni concordano e l’esempio corrisponde al nome dell’etichetta segnalato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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".

Lingua principale
TypeScript
Stelle
21k
Fork
69k
Merge medio
8h 37m
PR unite (30g)
117

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di github/docs

Tutte le issue di github/docs

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.