Merge pull request #51645 from thaJeztah/api_relax_replace_check

hack/validate/module-replace: relax check
This commit is contained in:
Paweł Gronowski
2025-12-02 15:23:02 +00:00
committed by GitHub

View File

@@ -4,7 +4,15 @@ set -e
SCRIPTDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "${SCRIPTDIR}/.validate"
api_files=$(validate_diff --diff-filter=ACMR --name-only -- 'api/' || true)
api_files=$(
validate_diff --diff-filter=ACMR --name-only -- \
'api/' \
':(exclude)api/README.md' \
':(exclude)api/swagger.yaml' \
':(exclude)api/docs/' \
|| true
)
client_files=$(validate_diff --diff-filter=ACMR --name-only -- 'client/' || true)
has_errors=0