Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/scripts/check-license-header.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,11 @@ log() { printf -- "** %s\n" "$*" >&2; }
error() { printf -- "** ERROR: %s\n" "$*" >&2; }
fatal() { error "$@"; exit 1; }

test -n "${PROJECT_NAME:-}" || fatal "PROJECT_NAME unset"

if [ -f .license_header_template ]; then
# allow projects to override the license header template
expected_file_header_template=$(cat .license_header_template)
else
test -n "${PROJECT_NAME:-}" || fatal "PROJECT_NAME unset"
expected_file_header_template="@@===----------------------------------------------------------------------===@@
@@
@@ This source file is part of the ${PROJECT_NAME} open source project
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/soundness.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ on:
default: true
license_header_check_project_name:
type: string
description: "Name of the project called out in the license header."
required: true
description: "Name of the project called out in the license header. Required unless `license_header_check_enabled` is false or a `.license_header_template` file is present."
default: ""
broken_symlink_check_enabled:
type: boolean
description: "Boolean to enable the broken symlink check job. Defaults to true."
Expand Down