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.
This commit is contained in:
Alan Guo Xiang Tan 2024-10-07 14:30:03 +08:00 committed by GitHub
parent 26db4c7534
commit 4d1e66418c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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