From bcf332c224a9a7ab80bc3bfd7f7c1db8e8aaa9f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Garn=C3=A6s?= Date: Fri, 12 Jan 2024 16:56:37 +0100 Subject: [PATCH] Limit configuration diffing to core configuration We have seen from experience that language differences acting weirdly where imports do not seem to be entirely completed. This results in language changes in CI which we cannot replicate locally. To address this we have tried the following: - Digging through issues queues. The following issues have not provided any answers yet: - https://www.drupal.org/project/drupal/issues/3103440 - https://www.drupal.org/project/drupal/issues/3221375 - https://github.com/drush-ops/drush/issues/4610 - Trying out https://github.com/zaporylie/drush-current-language Running drush config-import twice seems make the problem go away but we do not want to go there yet. To address the situation we limit changes to the default language configuration. Checking the configuration here is at least better than what we have now. --- .github/workflows/ci-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index d63e18afa..432d62753 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -276,4 +276,4 @@ jobs: - name: Export configuration run: task dev:cli -- drush config-export -y - name: Check for uncommited configuration after install - run: git diff --ignore-space-at-eol --exit-code config/sync/ + run: git diff --ignore-space-at-eol --exit-code config/sync/*.yml