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

GitHub Script action not pinned to a full-length commit SHA

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

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

評価

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

調査の方向性

Issueで参照されている137行目のaction.ymlから始め、accessibility-scanner workflowでのactions/github-scriptの使用を確認します。actionの参照を完全なコミットSHAに更新し、その後、workflowがリポジトリのpinning要件を満たし、正常に実行されることを検証します。

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

説明

The accessibility-scanner workflow uses actions/github-script@v8 without pinning it to a specific commit SHA. This violates security best practices and causes the pipeline to fail when the Require actions to be pinned to a full-length commit SHA setting is enabled.

Steps to Reproduce
  1. Enable Require actions to be pinned to a full-length commit SHA in the repository settings.
  2. Run the accessibility-scanner workflow.
  3. Observe the failure caused by the unpinned actions/github-script action.
Expected Behavior

The workflow should run successfully with all actions pinned to full-length commit SHAs.

Actual Behavior

The workflow fails because actions/github-script@v8 is not pinned to a commit SHA.

https://github.com/github/accessibility-scanner/blob/db51bb5d470a862cc027836ee1583ab9d5ae5b16/action.yml#L137

主要言語
TypeScript
スター
374
フォーク
42
平均マージ
1日 13時間
マージ済み PR(30日)
7

環境構築

はじめの一歩

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

github/accessibility-scanner のほかの issue

github/accessibility-scanner の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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