ci-present: a workflow of setup steps only is no CI

Aperta
#584 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à
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
43/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions, python, yaml
Ambito
ci-cd, tooling

Direzione di ricerca

Read the ci-present policy implementation and the fixtures covering workflows with no-op steps, then compare the two examples in the issue: checkout, setup-python, and ls -la versus a workflow with a build, test, or check. Decide which rule the policy should enforce, add fixtures for both workflow shapes, and confirm the policy and fixtures agree. The issue leaves the rule open, so the main work is resolving that policy choice.

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

Descrizione

question

Problem

#503 refuses workflows whose steps do nothing (echo, printf, true, :, checkout). A workflow of checkout, actions/setup-python and ls -la still passes ci-present.

Decision needed

What makes CI count for ci-present: at least one build, test or check step (strict), or a longer list of steps that do nothing (setup actions, listing commands)? The strict rule may change other projects' results.

Done when

The chosen rule is in policy, with fixtures for both shapes.

Split from #480. Checked against main at 4b4dbb6c on 2026-12-03: the cases above were reproduced with small fixtures or found in the code.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ByTXNqDWdM7HzezrFtEvQt

Lingua principale
Python
Stelle
4
Fork
1
Merge medio
6h 31m
PR unite (30g)
238

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 cpp-best-practices/project_validator

Tutte le issue di cpp-best-practices/project_validator

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.