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

feat(webhook): skip automatic reviews by pull request author

Aperta
#1,278 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@devops-thiago ci sta già lavorando.

Dal 28/10/2026.

  • #1279 di @devops-thiago — aperta

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

enhancement

Background

WEBHOOK_EXCLUDED_LABELS=dependencies is meant to skip Dependabot pull requests. Since #1025 the label gates also read the labels from the API when a pull request opens. That only helps when the labels are already on the pull request by the time the opened delivery is handled.

On 2026-10-28, ThrillhouseBot #1276 was opened by Dependabot at 02:16:36. The opened delivery was handled at 02:16:36.9 and found no labels, from the payload or from the API. The labeled deliveries came at 02:16:39. The review ran the model (22,658 input tokens, $0.0038), and the pre-publish label guard then dropped it at 02:16:56 with EXCLUDED_LABEL. Nothing was posted, but the model call was spent, and the review showed as running on the dashboard. #1277, opened 3 seconds later, was skipped up front because its labels were already there.

Label timing can't be made deterministic from our side. The pull request author is in every opened payload.

Change required

  • Add webhook.triggers.excluded-authors (WEBHOOK_EXCLUDED_AUTHORS), a comma-separated list of logins. Matching is case-insensitive and exact.
  • Skip automatic reviews of pull requests opened by those logins, with a new reason EXCLUDED_AUTHOR.
  • Apply it with the draft and branch checks, before any label read, so it costs no API call.
  • A manual /review still overrides it, as it does every trigger filter.
  • Document it in the README trigger section, .env.example and the generated configuration reference.

Acceptance criteria

  • A pull request opened by a login in WEBHOOK_EXCLUDED_AUTHORS is skipped with EXCLUDED_AUTHOR on opened, synchronize, reopened and ready_for_review, whatever its labels.
  • Matching ignores case and surrounding spaces, and an unset setting skips nobody.
  • A manual /review on such a pull request still runs.
  • Tests cover the above; ./mvnw verify passes.
Lingua principale
Java
Stelle
35
Fork
7
Merge medio
7h 7m
PR unite (30g)
225

Preparare l'ambiente

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 devops-thiago/ThrillhouseBot

Tutte le issue di devops-thiago/ThrillhouseBot

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.