Skip to content

Commit ff8e43f

Browse files
Merge #1465
1465: Fix pre-release CI not triggering r=bidoubiwa a=bidoubiwa When a push occurs on a branch pointing to a bump branch, the push action does not trigger as it does not match the required branch patterns. When a pull_request activity on a bump branch occurs, the pre-release tests were triggered but because of the wrong if condition, the jobs were not executed. The if condition should ensure that the base branch corresponds to the pull_request branch patterns. Which is now the case Co-authored-by: Charlotte Vermandel <[email protected]>
2 parents 9013eee + 0242820 commit ff8e43f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pre-release-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
jobs:
1616
meilisearch-version:
1717
runs-on: ubuntu-latest
18-
if: github.event_name != 'pull_request' || !startsWith(github.base_ref, 'bump-meilisearch-v')
18+
if: github.event_name != 'pull_request' || startsWith(github.base_ref, 'bump-meilisearch-v') || startsWith(github.base_ref, 'pre-release-beta')
1919
outputs:
2020
version: ${{ steps.grep-step.outputs.meilisearch_version }}
2121
steps:
@@ -27,7 +27,7 @@ jobs:
2727
echo "meilisearch_version=$MEILISEARCH_VERSION" >> $GITHUB_OUTPUT
2828
integration_tests:
2929
runs-on: ubuntu-latest
30-
if: github.event_name != 'pull_request' || !startsWith(github.base_ref, 'bump-meilisearch-v')
30+
if: github.event_name != 'pull_request' || startsWith(github.base_ref, 'bump-meilisearch-v') || startsWith(github.base_ref, 'pre-release-beta')
3131
needs: ['meilisearch-version']
3232
services:
3333
meilisearch:

0 commit comments

Comments
 (0)