Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Cancel validation runs for superseded pull request commits

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

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

Đánh giá

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

Hướng nghiên cứu

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.

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

Mô tả

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.

Ngôn ngữ chính
Python
Star
18
Fork
33
Merge trung bình
1 ngày 4 giờ
Pull request đã merge (30 ngày)
21

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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

Tất cả issue của PolicyEngine/policyengine-api

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.