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

unable to add files to the context with @

オープン
#287 コメント 7 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
github-actions, typescript
領域
ci-cd, cli

調査の方向性

まず Action YAML のワークフローを再現し、prompt が @ コマンド処理にどのように渡されるかを追跡します。@/path/to/a/file を指定してワークフローを再実行し、エラーなしでファイルが prompt のコンテキストに追加されることを確認して、fix を検証します。

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

説明

area/prompts kind/bug status/needs-triage
TL;DR

I am trying to add files to the prompt context using @ like I do in the Gemini CLI, but the result is an error

Error: Exiting due to an error processing the @ command.
See logs for more details
Error: Process completed with exit code 1.
Expected behavior

The files I add with @/path/to/file are added to the context.

Observed behavior

The @ is procesed as a command or something like that

Action YAML
- name: Run Prompt
  uses: google-github-actions/run-gemini-cli@2a77eb258d8d2447292fd5d9df6e7b49533d4f37
  id: analyze-ci-error
  env:
    GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  with:
    gemini_api_key: ${{ secrets.GEMINI_API_KEY }}
    prompt: |
      ## Context
      @/path/to/a/file
      ## Question
      Answer to the ultimate question of life, the universe, and everything
Log output
Error: Exiting due to an error processing the @ command.
See logs for more details
Error: Process completed with exit code 1.
Additional information

No response

主要言語
TypeScript
スター
2.1k
フォーク
285
平均マージ
8時間 8分
マージ済み PR(30日)
1

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

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

はじめの一歩

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

google-github-actions/run-gemini-cli のほかの issue

google-github-actions/run-gemini-cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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