Add changelog checker

This commit is contained in:
tusooa 2023-04-28 18:12:38 -04:00
commit ca7b5b7deb
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
2 changed files with 35 additions and 0 deletions

View file

@ -4,11 +4,28 @@
image: node:16
stages:
- check-changelog
- lint
- build
- test
- deploy
check-changelog:
stage: check-changelog
image: alpine
rules:
- if: $CI_MERGE_REQUEST_SOURCE_PROJECT_PATH == 'pleroma/pleroma-fe' && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME =~ /^renovate/
when: never
- if: $CI_MERGE_REQUEST_SOURCE_PROJECT_PATH == 'pleroma/pleroma-fe' && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == 'weblate'
when: never
- if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "develop"
before_script: ''
after_script: ''
cache: {}
script:
- apk add git
- sh ./tools/check-changelog
lint:
stage: lint
script: