Merge branch 'ci-rules-update' into 'develop'

Disable automatic CI jobs for every pushed branch

See merge request pleroma/pleroma!4390
This commit is contained in:
feld 2025-08-01 17:53:56 +00:00
commit f6106babfb
2 changed files with 2 additions and 1 deletions

View file

@ -14,9 +14,10 @@ variables: &global_variables
workflow:
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
- if: $CI_COMMIT_BRANCH == "develop"
- if: $CI_COMMIT_BRANCH == "stable"
- if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
when: never
- if: $CI_COMMIT_BRANCH
cache: &global_cache_policy
key: $CI_JOB_IMAGE-$CI_COMMIT_SHORT_SHA

View file