code_quality only for tags²

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

View file

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