From c6b47e6a5ed1cb1364ee143872ef185ce6356734 Mon Sep 17 00:00:00 2001
From: Dave Long <dave@longwaveconsulting.com>
Date: Tue, 7 Nov 2023 13:54:12 +0000
Subject: [PATCH] Issue #3399333 by andypost: All Lint jobs should use same
 default variables

---
 .gitlab-ci.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 92973a9eef60..341ef59391d4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -301,6 +301,7 @@ stages:
   <<: [ *with-yarn, *junit-artifacts, *default-job-settings-lint ]
   stage: 🪄 Lint
   variables:
+    <<: *default-lint-variables
     KUBERNETES_CPU_REQUEST: "2"
   script:
     - yarn --cwd=./core run -s lint:core-js-passing --format gitlab
@@ -312,6 +313,7 @@ stages:
   <<: [ *with-yarn, *junit-artifacts, *default-job-settings-lint ]
   stage: 🪄 Lint
   variables:
+    <<: *default-lint-variables
     KUBERNETES_CPU_REQUEST: "2"
   script:
     - yarn run --cwd=./core lint:css --color --custom-formatter=node_modules/stylelint-formatter-gitlab
@@ -323,6 +325,7 @@ stages:
   <<: [ *with-yarn, *default-job-settings-lint ]
   stage: 🪄 Lint
   variables:
+    <<: *default-lint-variables
     KUBERNETES_CPU_REQUEST: "2"
   script:
     - yarn run --cwd=./core build:css --check
@@ -332,6 +335,7 @@ stages:
   <<: [ *with-yarn, *default-job-settings-lint ]
   stage: 🪄 Lint
   variables:
+    <<: *default-lint-variables
     KUBERNETES_CPU_REQUEST: "2"
   script:
     - export TARGET_BRANCH=${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}${CI_COMMIT_BRANCH}
-- 
GitLab