ci: allow running the pipeline on tags

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2325>
This commit is contained in:
jo 2023-01-20 15:19:43 +01:00 committed by Marge
parent 7504a5fa53
commit 6b469ba1d8
1 changed files with 4 additions and 1 deletions

View File

@ -26,7 +26,10 @@ workflow:
# Run for any event on the default branches in the funkwhale namespace
- if: >
$CI_PROJECT_NAMESPACE == "funkwhale" &&
$CI_COMMIT_BRANCH =~ /(stable|develop)/
(
$CI_COMMIT_BRANCH =~ /(stable|develop)/ ||
$CI_COMMIT_TAG
)
# Run for merge requests from any repo or branches
- if: $CI_PIPELINE_SOURCE == "merge_request_event"