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

Đang mở
#584 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
43/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions, python, yaml
Lĩnh vực
ci-cd, tooling

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Python
Star
4
Fork
1
Merge trung bình
6 giờ 31 phút
Pull request đã merge (30 ngày)
238

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của cpp-best-practices/project_validator

Tất cả issue của cpp-best-practices/project_validator

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.