From fd615cdf94c28b1201383b5f19d478a7b5f71ef4 Mon Sep 17 00:00:00 2001 From: matteokeole Date: Sun, 23 Nov 2025 16:30:19 +0100 Subject: [PATCH] docs: Update copyright license header --- .github/workflows/check_copyright_license_headers.yaml | 2 +- Base/Aliases.hpp | 4 ++-- Base/Base.hpp | 4 ++-- Base/Bit.hpp | 4 ++-- Base/Cast.hpp | 4 ++-- Base/Context.hpp | 4 ++-- Base/Limits.hpp | 4 ++-- Base/Macros.hpp | 4 ++-- Base/Types/base_sequence.hpp | 4 ++-- Base/Types/base_view.hpp | 4 ++-- Base/Types/sequence.hpp | 4 ++-- Base/Types/view.hpp | 4 ++-- Base/Utilities.hpp | 4 ++-- scripts/check_copyright_license_headers.sh | 4 ++-- 14 files changed, 27 insertions(+), 27 deletions(-) diff --git a/.github/workflows/check_copyright_license_headers.yaml b/.github/workflows/check_copyright_license_headers.yaml index fabc664..912fc1f 100644 --- a/.github/workflows/check_copyright_license_headers.yaml +++ b/.github/workflows/check_copyright_license_headers.yaml @@ -22,4 +22,4 @@ jobs: env: GITHUB_BASE_REF: ${{github.base_ref}} GITHUB_HEAD_REF: ${{github.head_ref}} - GITHUB_TREE_URL: ${{github.server_url}}/${{github.repository}}/tree/${{github.head_ref}} \ No newline at end of file + GITHUB_HEAD_URL: ${{github.server_url}}/${{github.repository}}/tree/${{github.head_ref}} \ No newline at end of file diff --git a/Base/Aliases.hpp b/Base/Aliases.hpp index b5f34a1..021ce31 100644 --- a/Base/Aliases.hpp +++ b/Base/Aliases.hpp @@ -1,5 +1,5 @@ -// Copyright 2025 Atalante. -// Licensed under MIT. +// Copyright 2025 Atalante Studio. +// Distributed under the MIT License. #pragma once diff --git a/Base/Base.hpp b/Base/Base.hpp index 3aff649..f83471d 100644 --- a/Base/Base.hpp +++ b/Base/Base.hpp @@ -1,5 +1,5 @@ -// Copyright 2025 Atalante. -// Licensed under MIT. +// Copyright 2025 Atalante Studio. +// Distributed under the MIT License. #ifndef ATL_MODULE_BASE #define ATL_MODULE_BASE diff --git a/Base/Bit.hpp b/Base/Bit.hpp index 470848d..0976635 100644 --- a/Base/Bit.hpp +++ b/Base/Bit.hpp @@ -1,5 +1,5 @@ -// Copyright 2025 Atalante. -// Licensed under MIT. +// Copyright 2025 Atalante Studio. +// Distributed under the MIT License. #pragma once diff --git a/Base/Cast.hpp b/Base/Cast.hpp index 8540372..ddd48ec 100644 --- a/Base/Cast.hpp +++ b/Base/Cast.hpp @@ -1,5 +1,5 @@ -// Copyright 2025 Atalante. -// Licensed under MIT. +// Copyright 2025 Atalante Studio. +// Distributed under the MIT License. #pragma once diff --git a/Base/Context.hpp b/Base/Context.hpp index 95a2e6f..581f533 100644 --- a/Base/Context.hpp +++ b/Base/Context.hpp @@ -1,5 +1,5 @@ -// Copyright 2025 Atalante. -// Licensed under MIT. +// Copyright 2025 Atalante Studio. +// Distributed under the MIT License. #pragma once diff --git a/Base/Limits.hpp b/Base/Limits.hpp index b001ca3..a8e64e8 100644 --- a/Base/Limits.hpp +++ b/Base/Limits.hpp @@ -1,5 +1,5 @@ -// Copyright 2025 Atalante. -// Licensed under MIT. +// Copyright 2025 Atalante Studio. +// Distributed under the MIT License. #pragma once diff --git a/Base/Macros.hpp b/Base/Macros.hpp index 485bfb5..7d4f67c 100644 --- a/Base/Macros.hpp +++ b/Base/Macros.hpp @@ -1,5 +1,5 @@ -// Copyright 2025 Atalante. -// Licensed under MIT. +// Copyright 2025 Atalante Studio. +// Distributed under the MIT License. #pragma once diff --git a/Base/Types/base_sequence.hpp b/Base/Types/base_sequence.hpp index d08e16c..492d5e9 100644 --- a/Base/Types/base_sequence.hpp +++ b/Base/Types/base_sequence.hpp @@ -1,5 +1,5 @@ -// Copyright 2025 Atalante. -// Licensed under MIT. +// Copyright 2025 Atalante Studio. +// Distributed under the MIT License. #pragma once diff --git a/Base/Types/base_view.hpp b/Base/Types/base_view.hpp index ed7817a..f9a995c 100644 --- a/Base/Types/base_view.hpp +++ b/Base/Types/base_view.hpp @@ -1,5 +1,5 @@ -// Copyright 2025 Atalante. -// Licensed under MIT. +// Copyright 2025 Atalante Studio. +// Distributed under the MIT License. #pragma once diff --git a/Base/Types/sequence.hpp b/Base/Types/sequence.hpp index cc3b325..d2732a0 100644 --- a/Base/Types/sequence.hpp +++ b/Base/Types/sequence.hpp @@ -1,5 +1,5 @@ -// Copyright 2025 Atalante. -// Licensed under MIT. +// Copyright 2025 Atalante Studio. +// Distributed under the MIT License. #pragma once diff --git a/Base/Types/view.hpp b/Base/Types/view.hpp index 5052c63..c4049b0 100644 --- a/Base/Types/view.hpp +++ b/Base/Types/view.hpp @@ -1,5 +1,5 @@ -// Copyright 2025 Atalante. -// Licensed under MIT. +// Copyright 2025 Atalante Studio. +// Distributed under the MIT License. #pragma once diff --git a/Base/Utilities.hpp b/Base/Utilities.hpp index 56b986f..fb23386 100644 --- a/Base/Utilities.hpp +++ b/Base/Utilities.hpp @@ -1,5 +1,5 @@ -// Copyright 2025 Atalante. -// Licensed under MIT. +// Copyright 2025 Atalante Studio. +// Distributed under the MIT License. #pragma once diff --git a/scripts/check_copyright_license_headers.sh b/scripts/check_copyright_license_headers.sh index 1a2037e..c5a3a48 100644 --- a/scripts/check_copyright_license_headers.sh +++ b/scripts/check_copyright_license_headers.sh @@ -1,6 +1,6 @@ #!/bin/bash -HEADER=$'// Copyright 2025 Atalante.\n// Licensed under MIT.' +HEADER=$'// Copyright 2025 Atalante Studio.\n// Distributed under the MIT License.' files=$(git diff --diff-filter=d --name-only origin/$GITHUB_BASE_REF origin/$GITHUB_HEAD_REF -- *.{cpp,hpp,ipp}) unlicensed_files=() @@ -17,7 +17,7 @@ if [[ ${#unlicensed_files[@]} -gt 0 ]]; then echo "The following file(s) don't have a valid copyright license header." >> $GITHUB_STEP_SUMMARY for file in "${unlicensed_files[@]}"; do - echo "- [$file]($GITHUB_TREE_URL/$file)" >> $GITHUB_STEP_SUMMARY + echo "- [$file]($GITHUB_HEAD_URL/$file)" >> $GITHUB_STEP_SUMMARY done exit 1