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

Cancel validation runs for superseded pull request commits

Aperta
#3,853 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
65/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, python
Ambito
ci-cd

Direzione di ricerca

Look for the GitHub Actions workflow file for API v1 pull request validation, likely in .github/workflows/. Examine its concurrency configuration. Research GitHub Actions concurrency groups and the cancel-in-progress option. The change involves modifying the workflow YAML to group runs by workflow and pull request number and set cancel-in-progress to true, while ensuring deployment workflows are not affected. Test by creating a pull request and pushing multiple commits.

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

Descrizione

Problem

Pushing another commit to an open pull request starts a new validation workflow, but the workflow for the superseded commit continues running. This consumes runner capacity and can delay the checks for the current commit.

Proposed change

Configure the API v1 pull request workflow to group runs by workflow and pull request number and cancel an in-progress run when the same pull request receives another commit.

Keep deployment workflow concurrency unchanged so deployments continue to completion.

Lingua principale
Python
Stelle
18
Fork
33
Merge medio
1g 4h
PR unite (30g)
21

Guida per i contributori

Apri la guida per i contributori

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 PolicyEngine/policyengine-api

Tutte le issue di PolicyEngine/policyengine-api

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.