From 4d1e66418cdb08028ab3d616ba90b8d003783cae Mon Sep 17 00:00:00 2001 From: Alan Guo Xiang Tan Date: Mon, 7 Oct 2024 14:30:03 +0800 Subject: [PATCH] DEV: Skip `plugin:pull_compatible_all` when running against main branch (#29081) Plugins are expected to always be compatible against the main `branch` so we can skip the `plugin:pull_compatible_all rake task. --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 89737d8a00d..dc1a3278185 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -137,7 +137,7 @@ jobs: run: rm -rf plugins/discourse-ai - name: Pull compatible versions of plugins - if: matrix.target == 'plugins' + if: matrix.target == 'plugins' && (github.ref_name != 'main' && github.base_ref != 'main') run: bin/rake plugin:pull_compatible_all - name: Plugin gems cache