diff --git a/.gitlab/ci/rules.gitlab-ci.yml b/.gitlab/ci/rules.gitlab-ci.yml index bce7e1dd38f..9bcc0be39a1 100644 --- a/.gitlab/ci/rules.gitlab-ci.yml +++ b/.gitlab/ci/rules.gitlab-ci.yml @@ -1041,7 +1041,7 @@ rules: - if: '$GITLABCOM_DATABASE_TESTING_TRIGGER_TOKEN == null' when: never - - <<: *if-fork-merge-request + - if: '$CI_MERGE_REQUEST_SOURCE_PROJECT_PATH !~ /^gitlab(-org|-cn)?\//' when: never - <<: *if-merge-request changes: *db-patterns diff --git a/GITALY_SERVER_VERSION b/GITALY_SERVER_VERSION index 16fe8dd6957..8c652ae394b 100644 --- a/GITALY_SERVER_VERSION +++ b/GITALY_SERVER_VERSION @@ -1 +1 @@ -398249273423b358d1c226d6379391f5bf0c927c +60cb736d21dff98e753dd49b873840cf665d8c91 diff --git a/GITLAB_KAS_VERSION b/GITLAB_KAS_VERSION index 6517900b5fc..604d6f290bc 100644 --- a/GITLAB_KAS_VERSION +++ b/GITLAB_KAS_VERSION @@ -1 +1 @@ -2e27a8a56fb51a7359742453a6102e0cf20711de +42fc100c92311d4989681df8c62b91cd18edb886 diff --git a/app/assets/javascripts/code_navigation/components/popover.vue b/app/assets/javascripts/code_navigation/components/popover.vue index 8a00a49328c..e16ecc4084f 100644 --- a/app/assets/javascripts/code_navigation/components/popover.vue +++ b/app/assets/javascripts/code_navigation/components/popover.vue @@ -82,7 +82,6 @@ export default { ); }, }, - colorScheme: gon?.user_color_scheme, }; @@ -103,8 +102,7 @@ export default {
diff --git a/app/assets/javascripts/content_editor/components/wrappers/code_block.vue b/app/assets/javascripts/content_editor/components/wrappers/code_block.vue index 5cfd61b5f45..7f21409cab9 100644 --- a/app/assets/javascripts/content_editor/components/wrappers/code_block.vue +++ b/app/assets/javascripts/content_editor/components/wrappers/code_block.vue @@ -59,9 +59,6 @@ export default { }; }, computed: { - themeClass() { - return window.gon?.user_color_scheme; - }, isCodeSuggestion() { return ( this.node.attrs.isCodeSuggestion && @@ -72,7 +69,7 @@ export default { classList() { return this.isCodeSuggestion ? '!gl-p-0 suggestion-added-input' - : `gl-p-3 code highlight ${this.$options.userColorScheme}`; + : `gl-p-3 code highlight code-syntax-highlight-theme`; }, lineOffset() { return langParamsToLineOffset(this.node.attrs.langParams); @@ -160,7 +157,6 @@ export default { .run(); }, }, - userColorScheme: gon.user_color_scheme, };