Skip to content

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

Description

@bkhouri

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.

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