From 2d590f887f18ed004cb925f5556e94e2279d0fac Mon Sep 17 00:00:00 2001 From: jamesthompson26-nhs Date: Fri, 24 Apr 2026 12:56:26 +0100 Subject: [PATCH 1/2] CCM-17036: Fix Editor Config Checker Native Reference --- .github/actions/check-file-format/check-file-format.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/check-file-format/check-file-format.sh b/.github/actions/check-file-format/check-file-format.sh index 8c229c1..da1ee1b 100755 --- a/.github/actions/check-file-format/check-file-format.sh +++ b/.github/actions/check-file-format/check-file-format.sh @@ -68,7 +68,7 @@ function main() { ;; esac - if command -v editorconfig > /dev/null 2>&1 && ! is-arg-true "${FORCE_USE_DOCKER:-false}"; then + if command -v editorconfig-checker > /dev/null 2>&1 && ! is-arg-true "${FORCE_USE_DOCKER:-false}"; then filter="$filter" dry_run_opt="${dry_run_opt:-}" run-editorconfig-natively else filter="$filter" dry_run_opt="${dry_run_opt:-}" run-editorconfig-in-docker From 04f7e4c2ebe680c8013a51c10e452af64fab283e Mon Sep 17 00:00:00 2001 From: jamesthompson26-nhs Date: Fri, 24 Apr 2026 13:05:26 +0100 Subject: [PATCH 2/2] CCM-17036: Fix Editor Config Checker Native Reference --- .github/actions/check-file-format/check-file-format.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/check-file-format/check-file-format.sh b/.github/actions/check-file-format/check-file-format.sh index da1ee1b..9581df0 100755 --- a/.github/actions/check-file-format/check-file-format.sh +++ b/.github/actions/check-file-format/check-file-format.sh @@ -90,7 +90,7 @@ function run-editorconfig-natively() { [[ ${#files[@]} -eq 0 ]] && return 0 # shellcheck disable=SC2086 - editorconfig \ + editorconfig-checker \ --exclude '.git/' $dry_run_opt "${files[@]}" }