Cancel validation runs for superseded pull request commits
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
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
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của PolicyEngine/policyengine-api
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
PolicyEngine/policyengine-api#3851 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
PolicyEngine/policyengine-api#3847 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 38/100
PolicyEngine/policyengine-api#3823 ·
-
PolicyEngine/policyengine-api#3818 · 1 người được giao ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
PolicyEngine/policyengine-api#3816 ·
Tất cả issue của PolicyEngine/policyengine-api
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
xinnan-tech/xiaozhi-fde-talk#263 ·
-
rules
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
huggingface/Repo2RLEnv#163 · 1 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
huggingface/sentence-transformers#4074 ·
-
comp/dashboard invalid P3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
NousResearch/hermes-agent#121143 ·