Skip to content

Let read-only gh api calls with variables pass without approval #263

Closed

Description

@furedea-agent

概要

  • レーンが CI のログや公開リポジトリのファイルを gh api で読むとき,パスに変数($f,${J%% *} など)や --allow-escape-sequences が入ると,毎回確認になっていた.
  • 読むだけ(GET)の gh api を,書き込みや認証情報に触れない範囲で安全に通す規則を考える.
  • 決めること:どこまでを「読むだけ」とみなすか.

受け入れ条件

  • repos/<owner>/<repo>/actions/jobs/<id>/logs,contents/<path>,pulls,issues の GET を,変数が入っても方法 GET が確実な形で通せる
  • -X/--method の書き込み,-f/-F による本文つき(暗黙の POST),graphql の mutation は確認のまま
  • 回帰テストがある
背景

Activity

  1. added a commit that references this issue on Oct 21, 2026
    c119608
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions