Skip to content

A platform for community discussion. Free, open, simple.

DEV: Skip `plugin:pull_compatible_all` when running against main branch (#29081)

Alan Guo Xiang Tan4d1e66418cdb
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