Skip to content

Commit 9244ced

Browse files
committed
Fix condition
1 parent c2d6a67 commit 9244ced

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/coverage.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@ env:
1818

1919
jobs:
2020
coverage:
21-
# Will not run if the event is a PR to bump-meilisearch-v* (so a pre-release PR)
22-
# Will still run for each push to bump-meilisearch-v*
2321
# Will not run if the actor is Dependabot (dependabot PRs)
24-
if: github.event_name != 'pull_request' || !startsWith(github.base_ref, 'bump-meilisearch-v') || github.actor != 'dependabot[bot]'
22+
# Will not run if the event is a PR to bump-meilisearch-v* (so a pre-release PR)
23+
if: github.actor != 'dependabot[bot]' && !( github.event_name == 'pull_request' && startsWith(github.base_ref, 'bump-meilisearch-v') )
2524
runs-on: ubuntu-latest
2625
name: Code Coverage
2726
steps:

0 commit comments

Comments
 (0)