From 1168b15874b24d9a959f48eaf3886e0af87e5eb9 Mon Sep 17 00:00:00 2001 From: Franz Busch Date: Fri, 12 Jul 2024 12:07:43 +0200 Subject: [PATCH] [GHA] Configure license check --- .github/workflows/pull_request.yml | 3 ++- .licenseignore | 39 ++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 .licenseignore diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index a104686a..4198d574 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -9,4 +9,5 @@ jobs: name: Checks uses: apple/swift-nio/.github/workflows/reusable_pull_request.yml@main with: - benchmarks_linux_enabled: false \ No newline at end of file + benchmarks_linux_enabled: false + license_header_check_project_name: "SwiftOpenAPIGenerator" diff --git a/.licenseignore b/.licenseignore new file mode 100644 index 00000000..a954f36c --- /dev/null +++ b/.licenseignore @@ -0,0 +1,39 @@ +.gitignore +.licenseignore +.spi.yml +.swift-format +.github/* +CODE_OF_CONDUCT.md +CONTRIBUTING.md +CONTRIBUTORS.txt +LICENSE.txt +NOTICE.txt +Package.swift +Package.resolved +README.md +SECURITY.md +scripts/unacceptable-language.txt +Tests/PetstoreConsumerTests/Generated +Tests/OpenAPIGeneratorReferenceTests/Resources/ReferenceSources/* +docker/* +**/*.docc/* +**/.gitignore +**/Package.swift +**/Package.resolved +**/README.md +**/openapi.yaml +**/openapi.yml +**/petstore.yaml +**/openapi-generator-config.yaml +**/openapi-generator-config.yml +**/docker-compose.yaml +**/docker/* +**/.dockerignore +Plugins/OpenAPIGenerator/PluginsShared +Plugins/OpenAPIGeneratorCommand/PluginsShared +Examples/HelloWorldiOSClientAppExample/HelloWorldiOSClientApp.* +Examples/HelloWorldiOSClientAppExample/HelloWorldiOSClientApp/Assets.xcassets/* +Examples/HelloWorldiOSClientAppExample/HelloWorldiOSClientApp/Preview* +Examples/**/Generated* +**/Makefile +**/*.html \ No newline at end of file