From ad3da549b3d42c5858fe6745c12d1d43ee9a6fd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Fri, 27 Oct 2023 17:02:08 +0200 Subject: [PATCH 1/3] Exclude all files in subdirs --- .github/workflows/integrity.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/integrity.yml b/.github/workflows/integrity.yml index 07b452d..4a35942 100644 --- a/.github/workflows/integrity.yml +++ b/.github/workflows/integrity.yml @@ -31,11 +31,12 @@ jobs: resources/ tests/ export-excludes: >- - --exclude="bin" --exclude="bin/*" - --exclude="src" --exclude="src/*" - --exclude="resources" --exclude="resources/*" + --exclude="*/*" exported-paths: >- LICENSE README.md + bin/ composer.json package.json + resources/ + src/ From a46edb5efa619498fc3bc8fe87c4af344e815290 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Fri, 27 Oct 2023 17:04:31 +0200 Subject: [PATCH 2/3] Update reusable-integrity.yml --- .github/workflows/reusable-integrity.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reusable-integrity.yml b/.github/workflows/reusable-integrity.yml index d2d103e..f31856f 100644 --- a/.github/workflows/reusable-integrity.yml +++ b/.github/workflows/reusable-integrity.yml @@ -19,12 +19,12 @@ on: # yamllint disable-line rule:truthy export-excludes: description: "List of the expected exported directories" type: "string" - default: "--exclude='src' --exclude='src/*'" + default: "--exclude='*/*'" required: false exported-paths: description: "List of the expected exported files" type: "string" - default: "LICENSE README.md composer.json" + default: "LICENSE README.md composer.json src/" required: false permissions: {} # yamllint disable-line rule:braces From 2969cec43f5ab07234996817970f9cf4c4d25b9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Fri, 27 Oct 2023 17:06:20 +0200 Subject: [PATCH 3/3] Update reusable-integrity.yml --- .github/workflows/reusable-integrity.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reusable-integrity.yml b/.github/workflows/reusable-integrity.yml index f31856f..6b81774 100644 --- a/.github/workflows/reusable-integrity.yml +++ b/.github/workflows/reusable-integrity.yml @@ -17,12 +17,12 @@ on: # yamllint disable-line rule:truthy default: "src/ tests/" required: false export-excludes: - description: "List of the expected exported directories" + description: "List of excluded exported paths" type: "string" default: "--exclude='*/*'" required: false exported-paths: - description: "List of the expected exported files" + description: "List of expected exported paths" type: "string" default: "LICENSE README.md composer.json src/" required: false