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

Identify if `push` event is for a pull request merge without additional API calls

Aperta
#24 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Tranquilla
Stack tecnologico
github, go
Ambito
api, backend

Direzione di ricerca

Inizia leggendo l’handler dell’evento push e l’handler dell’evento pull request descritti nell’issue. Traccia come la chiamata API attuale determina se un commit inviato appartiene a una pull request unita e quando viene creata una voce RSL. Il lavoro è completato quando è stato stabilito se i dati dell’evento possono sostituire la chiamata API e si è concordato il comportamento risultante.

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

Descrizione

Currently, the push event handler creates an RSL entry for the reference in question. As GitHub sends a push event and a pull request event when a PR is merged, the push event handler uses the API to identify if the pushed commit is part of any pull requests that were merged. If so, an RSL entry is not created because the pull request handler takes care of it instead. This issue is to discuss if we can achieve this without the additional API call, especially since the API response may not indicate that the PR was merged (there may be a delay before the change in status is reflected in the API response).

Lingua principale
Go
Stelle
5
Fork
1
Merge medio
8h 40m
PR unite (30g)
6

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 gittuf/github-app

Tutte le issue di gittuf/github-app

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.