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

Open
#584 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
43/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
github-actions, python, yaml
Domain
ci-cd, tooling

Research direction

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.

Written by the indexing model from the issue text.

Description

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

Dominant language
Python
Stars
4
Forks
1
Avg merge
6h 31m
Merged PRs (30d)
238

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cpp-best-practices/project_validator

All issues in cpp-best-practices/project_validator

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.