Skip to content
Code-Schnipsel Gruppen Projekte
Commit 480eb716 erstellt von Jan Wennrich's avatar Jan Wennrich
Dateien durchsuchen

ci: disable commit linting

Übergeordneter 627076d0
No related branches found
No related tags found
1 Merge Request!10chore: lint every commit via commitlint
......@@ -2,20 +2,20 @@ include:
- project: 'quiqqer/semantic-release'
file: '/.gitlab-ci.yml'
stages:
- lint
- release
#validate_merge_request_source_branch:
# stage: validate
# - lint
- release
##validate_merge_request_source_branch:
## stage: validate
## script:
## - echo "Job runs to validate merge request source branch"
## - echo "Testing failed validation"
## - exit 1
## rules:
## - if: $CI_PIPELINE_SOURCE == 'merge_request_event' && #$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master"
## - if: $CI_PIPELINE_SOURCE == 'merge_request_event' && #$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main"
## - if: $CI_PIPELINE_SOURCE == 'merge_request_event' && #$CI_MERGE_REQUEST_TARGET_BRANCH_NAME =~ /^(\d\.)?\d.x$/
#lint:commit:
# stage: lint
# image: node:18-slim
# script:
# - echo "Job runs to validate merge request source branch"
# - echo "Testing failed validation"
# - exit 1
# rules:
# - if: $CI_PIPELINE_SOURCE == 'merge_request_event' && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master"
# - if: $CI_PIPELINE_SOURCE == 'merge_request_event' && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main"
# - if: $CI_PIPELINE_SOURCE == 'merge_request_event' && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME =~ /^(\d\.)?\d.x$/
lint:commit:
stage: lint
image: node:18-slim
script:
- echo "${CI_COMMIT_MESSAGE}" | npx commitlint
# - echo "${CI_COMMIT_MESSAGE}" | npx commitlint
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren