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

Offen
#584 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
43/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
github-actions, python, yaml
Bereich
ci-cd, tooling

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
Python
Sterne
4
Forks
1
Ø Merge
6 Std. 31 Min.
Gemergte PRs (30 T.)
238

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus cpp-best-practices/project_validator

Alle Issues in cpp-best-practices/project_validator

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.