add tag on event restriction for build steps

This commit is contained in:
Simon Vieille 2023-03-17 17:25:22 +01:00
parent 3a51e6ecd5
commit 7227f59dab
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -21,7 +21,7 @@ pipeline:
- npm run build - npm run build
when: when:
branch: [master, develop, feature/*, translations] branch: [master, develop, feature/*, translations]
event: [push, pull_request] event: [tag, push, pull_request]
build_php: build_php:
image: deblan/php:8.0 image: deblan/php:8.0
@ -29,7 +29,7 @@ pipeline:
- php bin/generate_l10n.php - php bin/generate_l10n.php
when: when:
branch: [master, develop, feature/*, translations] branch: [master, develop, feature/*, translations]
event: [push, pull_request] event: [tag, push, pull_request]
code_quality: code_quality:
image: sonarsource/sonar-scanner-cli image: sonarsource/sonar-scanner-cli