Cancel validation runs for superseded pull request commits
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 65/100
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Python
- スター
- 18
- フォーク
- 33
- 平均マージ
- 1日 4時間
- マージ済み PR(30日)
- 21
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PolicyEngine/policyengine-api のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
PolicyEngine/policyengine-api#3851 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
PolicyEngine/policyengine-api#3847 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 38/100
PolicyEngine/policyengine-api#3823 ·
-
PolicyEngine/policyengine-api#3818 · 担当者 1 名 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
PolicyEngine/policyengine-api#3816 ·
PolicyEngine/policyengine-api の issue をすべて見る
似ている issue
-
area: harness bug status: needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Human-Agent-Society/reef#625 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
learningequality/kolibri#15351 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
Name consistency オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
eellak/triplestore#65 · コメント 1 件 ·