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

ci: restrict checkout credentials in shellcheck workflow

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

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

評価

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

調査の方向性

Shellcheck の workflow ファイルを見つけ、checkout と権限の設定を確認してください。issue にはファイル名が記載されていません。permissions: contents: read と persist-credentials: false を設定し、pull request で引き続き checkout とテストが実行され、Git の設定に認証情報が含まれないことを確認してください。issue では、リポジトリのスクリプトと分離された tmux 回帰テストスイートが、関連するテストのコンテキストとして挙げられています。

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

説明

The shellcheck workflow inherits default token permissions and persists checkout credentials. Its pull-request job runs repository scripts, including the new isolated tmux regression suite.

Follow up by setting permissions: contents: read and persist-credentials: false, and verify the workflow still checks out and tests pull requests without credentials in Git config.

This pre-existing workflow configuration was raised as a non-blocking review comment in https://github.com/jonathanong/scripts/pull/3 (CodeRabbit review PRR_kwDOSeuXK88AAAABQdXdPA). Track independently from the pane-targeting fix.

主要言語
Shell
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

似ている issue

Shell/Bash の issue をもっと見る

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

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