riseproject-dev / riseproject-dev/python-wheels

Narrow `pr-trigger.yml` to ignore publish-only changes in workflows

オープン 初心者向け
#170 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

enhancement infrastructure
主要言語
Python
スター
0
フォーク
0
平均マージ
16時間 14分
マージ済み PR(30日)
952

説明

After creating #169 , the build-numpy.yml workflow kicked off again despite no new version to build. This is expected due to how the existing checker workflows were designed, and the publish step wasn't going to run anyway since it wasn't on main, but it's wasteful to be running a build in this case. If it's simple enough, we should change the pr-trigger.yml workflow so that it only triggers builds when parts of the script other than the publish job are modified. This may be too complex to justify.

Alternatively, we could do some further rework (once the composite action in #169 is merged) to have it perform the publish steps in a "mock" mode, so that we're testing the publishing steps as much as possible too. It would mean letting the superfluous wheel builds to run though, without further tweaks.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

pr-trigger.yml workflow から始めて build-numpy.yml と比較し、その後 #169 で導入された workflow の変更を確認します。publish-only の変更では build が開始されず、その他のスクリプトの変更では引き続き build が開始されるようにトリガー条件を更新し、結果としての workflow の動作を検証します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
github-actions
領域
build-system, ci-cd
issue の種類
機能追加
難易度
2/5
見積もり時間
1〜3時間
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
68/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。