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/ diff --git a/.github/workflows/reusable-integrity.yml b/.github/workflows/reusable-integrity.yml index d2d103e..6b81774 100644 --- a/.github/workflows/reusable-integrity.yml +++ b/.github/workflows/reusable-integrity.yml @@ -17,14 +17,14 @@ 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='src' --exclude='src/*'" + 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" + default: "LICENSE README.md composer.json src/" required: false permissions: {} # yamllint disable-line rule:braces