Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

fix(ci): check-changed-skills.sh fails a stale branch on skills only main changed

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

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

@kyle-sexton がすでに取り組んでいます。

2026年10月11日 から。

  • #7083 @kyle-sexton による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
bash, git
領域
build-system

調査の方向性

バグは scripts/check-changed-skills.sh にあります。変更ファイルの集合は changed_files::into changed_paths "$BASE"(123行目付近)から得られ、スキルごとのチェックは git diff --name-only "$BASE" -- "$skill_dir/SKILL.md"(175行目付近)を実行します。再現手順は、main より遅れているブランチで origin/main を指定してスクリプトを実行し、その後、両方の呼び出しの前に git merge-base "$BASE" HEAD で BASE を解決することです。ベースより遅れているブランチで、main だけがスキルを変更したと報告されなくなり、ベースより遅れているブランチを対象とする新しいテストが追加されたら完了です。

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

説明

good first issue needs-triage priority: medium

Problem

Run locally as scripts/check-changed-skills.sh origin/main on a branch behind main, the script also checks skills that only main changed and fails on them.

Seen on 2026-10-10 on feat/agent-tool-spawn-effort (#6913), 44 commits behind main. It failed on plugins/harness-config/skills/audit/scripts/fix-plugin-drift.test.sh, which the branch never touched. Against the merge base (e971f640b3) it passed: "6 skill(s) checked, 0 failed."

Cause: the changed set and the per-skill diff are taken against the base ref as given. The changed set comes from changed_files::into changed_paths "$BASE" and the per-skill check from git diff --name-only "$BASE" -- "$skill_dir/SKILL.md" (scripts/check-changed-skills.sh:123, :175). That is a two-dot comparison against the working tree, so it includes main's own changes since the branch point.

Proposed next step

Resolve $BASE to git merge-base "$BASE" HEAD before computing the changed set, so the script checks only what the branch changed. Keep CHECK_SKILL_BASE_REF semantics unchanged unless they have the same problem. Add a test with a branch behind its base.

主要言語
Shell
スター
22
フォーク
2
平均マージ
6時間 10分
マージ済み PR(30日)
937

環境構築

はじめの一歩

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

melodic-software/claude-code-plugins のほかの issue

melodic-software/claude-code-plugins の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

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

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