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

CodeQL fails to get Git version

クローズ
#3,962 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
静か
技術スタック
git, github-actions
領域
ci-cd

調査の方向性

リンクされた GitHub Actions の実行から始め、Git の場所を特定する際に発生する CodeQL v4 の警告を再現します。CodeQL action による Git のバージョン検出と GitHub API へのフォールバックを追跡します。警告が抑制され、リポジトリのダウンロードや解析に支障が生じなければ完了です。

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

説明

Since about six months ago, CodeQL has been unable to automatically detect the Git version. This causes a warning to be thrown: https://github.com/primesearch/mfaktc/actions/runs/27564026256

Could not determine Git version: Unable to locate executable file: git. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.

It doesn't actually affect the workflow because the Action falls back to the GitHub API for downloading the repo. However, I'd like to silence the warning so that the workflow output is less cluttered.

We are using v4 for all CodeQL-related Actions.

主要言語
TypeScript
スター
1.6k
フォーク
493
平均マージ
1日 13時間
マージ済み PR(30日)
44

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

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

はじめの一歩

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

github/codeql-action のほかの issue

github/codeql-action の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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