run code_quality jobs only for tags (new versions)

This commit is contained in:
Kayou 2023-02-06 20:17:55 +01:00 committed by GitHub
parent e0bdb605ee
commit fa7f7f77b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,6 +16,8 @@ default:
code_quality:
tags:
- docker
only:
- tags
code_quality_html:
extends: code_quality
@ -23,6 +25,8 @@ code_quality_html:
REPORT_FORMAT: html
artifacts:
paths: [gl-code-quality-report.html]
only:
- tags
# see: https://docs.gitlab.com/ee/ci/yaml/#switch-between-branch-pipelines-and-merge-request-pipelines
workflow: