CI workflow header comment says it is scoped by path, but pull requests always run it

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
75/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github-actions, yaml
領域
ci-cd

調査の方向性

誤解を招くコメントは .github/workflows/dacs-directory-ci.yml の3~4行目にあります。8行目の push トリガーの paths フィルターと、フィルターのない11行目の pull_request トリガーを比較してください。まずこの動作を確認し、そのうえでコメントを、pull request は常にジョブを実行し、スコープされるのは push のみパスで絞り込まれる、という内容に書き直してください。コメントがトリガーの内容と一致し、PR が phase0-completion ブランチ向けになっていれば完了です。

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

説明

contributors-section

Where: .github/workflows/dacs-directory-ci.yml:4 (on phase0-completion at the linked commit)

What goes wrong: The header of .github/workflows/dacs-directory-ci.yml (lines 3-4) says the workflow is 'Scoped by path so unrelated repo changes don't trigger it'. Only the push trigger has a paths filter (line 8); pull_request (line 11) has none, so every pull request runs the whole directory job whatever it changes.

Suggested fix: Reword the comment to say pull requests always run it and only pushes to main are scoped by path.

Size: Small

This comes from a code review, not from a failing run, so please confirm it before starting. Send the fix as a pull request to phase0-completion. It merges once tests pass and a maintainer has approved it.

主要言語
TypeScript
スター
0
フォーク
3
平均マージ
20時間 26分
マージ済み PR(30日)
119

環境構築

はじめの一歩

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

DACS-Agent-commerce/Community のほかの issue

DACS-Agent-commerce/Community の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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