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

Shell license checks should not check the shebang (`#!`)

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

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

評価

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

調査の方向性

.github/workflows/scripts/check-license-header.sh から始め、.devcontainer/init.sh に対して失敗を再現します。ライセンスチェックが shebang をヘッダー違反として扱わなくなっている一方で、残りのライセンスヘッダーは引き続きチェックすることを確認します。

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

説明

The license header GHA fails, unnecessarily, with the following:

❯ ../github-workflows/.github/workflows/scripts/check-license-header.sh 
--- Expected header
+++ .devcontainer/init.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh -x
 ##===----------------------------------------------------------------------===##
 ##
 ## This source file is part of the Swift open source project

It is wrong, and too restrictive, to have the "shebang" cause a license check violation.

主要言語
Swift
スター
115
フォーク
57
平均マージ
1日 8時間
マージ済み PR(30日)
3

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

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

はじめの一歩

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

swiftlang/github-workflows のほかの issue

swiftlang/github-workflows の issue をすべて見る

似ている issue

Swift の issue をもっと見る

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

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