@catladder/pipeline 4.5.0 → 4.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/dist/constants.js +1 -1
  2. package/dist/pipeline/createMainPipeline.js +1 -1
  3. package/dist/pipeline/gitlab/createGitlabPipeline.js +1 -1
  4. package/dist/rules/index.d.ts +3 -2
  5. package/dist/rules/index.js +7 -4
  6. package/dist/tsconfig.tsbuildinfo +1 -1
  7. package/examples/__snapshots__/automatic-releases.test.ts.snap +8 -8
  8. package/examples/__snapshots__/cloud-run-execute-script-on-deploy.test.ts.snap +8 -8
  9. package/examples/__snapshots__/cloud-run-existing-image.test.ts.snap +3 -3
  10. package/examples/__snapshots__/cloud-run-health-check-defaults.test.ts.snap +8 -8
  11. package/examples/__snapshots__/cloud-run-health-check-only-startup.test.ts.snap +8 -8
  12. package/examples/__snapshots__/cloud-run-health-check.test.ts.snap +8 -8
  13. package/examples/__snapshots__/cloud-run-http2.test.ts.snap +8 -8
  14. package/examples/__snapshots__/cloud-run-llama.test.ts.snap +3 -3
  15. package/examples/__snapshots__/cloud-run-memory-limit.test.ts.snap +8 -8
  16. package/examples/__snapshots__/cloud-run-meteor-with-worker.test.ts.snap +8 -8
  17. package/examples/__snapshots__/cloud-run-n8n.test.ts.snap +3 -3
  18. package/examples/__snapshots__/cloud-run-nextjs.test.ts.snap +8 -8
  19. package/examples/__snapshots__/cloud-run-no-cpu-throttling.test.ts.snap +8 -8
  20. package/examples/__snapshots__/cloud-run-no-service.test.ts.snap +8 -8
  21. package/examples/__snapshots__/cloud-run-non-public.test.ts.snap +8 -8
  22. package/examples/__snapshots__/cloud-run-post-stop-job.test.ts.snap +8 -8
  23. package/examples/__snapshots__/cloud-run-service-custom-vpc-connector.test.ts.snap +8 -8
  24. package/examples/__snapshots__/cloud-run-service-custom-vpc.test.ts.snap +8 -8
  25. package/examples/__snapshots__/cloud-run-service-gen2.test.ts.snap +8 -8
  26. package/examples/__snapshots__/cloud-run-service-increase-timout.test.ts.snap +8 -8
  27. package/examples/__snapshots__/cloud-run-service-with-volumes.test.ts.snap +8 -8
  28. package/examples/__snapshots__/cloud-run-session-affinity.test.ts.snap +8 -8
  29. package/examples/__snapshots__/cloud-run-storybook.test.ts.snap +5 -5
  30. package/examples/__snapshots__/cloud-run-with-agents.test.ts.snap +10 -10
  31. package/examples/__snapshots__/cloud-run-with-gpu.test.ts.snap +8 -8
  32. package/examples/__snapshots__/cloud-run-with-ngnix.test.ts.snap +8 -8
  33. package/examples/__snapshots__/cloud-run-with-sql-legacy-jobs.test.ts.snap +8 -8
  34. package/examples/__snapshots__/cloud-run-with-sql-multiple-dbs.test.ts.snap +22 -22
  35. package/examples/__snapshots__/cloud-run-with-sql-reuse-db.test.ts.snap +15 -15
  36. package/examples/__snapshots__/cloud-run-with-sql.test.ts.snap +8 -8
  37. package/examples/__snapshots__/cloud-run-with-worker.test.ts.snap +8 -8
  38. package/examples/__snapshots__/cloud-run-worker-pool.test.ts.snap +8 -8
  39. package/examples/__snapshots__/custom-build-job-with-tests.test.ts.snap +8 -8
  40. package/examples/__snapshots__/custom-build-job.test.ts.snap +5 -5
  41. package/examples/__snapshots__/custom-deploy.test.ts.snap +7 -7
  42. package/examples/__snapshots__/custom-docker-file.test.ts.snap +8 -8
  43. package/examples/__snapshots__/custom-envs.test.ts.snap +13 -13
  44. package/examples/__snapshots__/custom-verify-job.test.ts.snap +9 -9
  45. package/examples/__snapshots__/git-submodule.test.ts.snap +8 -8
  46. package/examples/__snapshots__/kubernetes-application-customization.test.ts.snap +9 -9
  47. package/examples/__snapshots__/kubernetes-with-cloud-sql.test.ts.snap +9 -9
  48. package/examples/__snapshots__/kubernetes-with-jobs.test.ts.snap +17 -17
  49. package/examples/__snapshots__/kubernetes-with-mongodb.test.ts.snap +9 -9
  50. package/examples/__snapshots__/local-dot-env.test.ts.snap +8 -8
  51. package/examples/__snapshots__/meteor-kubernetes.test.ts.snap +9 -9
  52. package/examples/__snapshots__/modify-generated-files.test.ts.snap +5 -5
  53. package/examples/__snapshots__/modify-generated-yaml.test.ts.snap +5 -5
  54. package/examples/__snapshots__/multiline-var.test.ts.snap +23 -23
  55. package/examples/__snapshots__/native-app.test.ts.snap +13 -13
  56. package/examples/__snapshots__/node-build-with-custom-image.test.ts.snap +8 -8
  57. package/examples/__snapshots__/node-build-with-docker-additions.test.ts.snap +8 -8
  58. package/examples/__snapshots__/override-secrets.test.ts.snap +8 -8
  59. package/examples/__snapshots__/rails-k8s-with-worker-dockerfile.test.ts.snap +8 -8
  60. package/examples/__snapshots__/rails-k8s-with-worker.test.ts.snap +8 -8
  61. package/examples/__snapshots__/referencing-other-vars.test.ts.snap +23 -23
  62. package/examples/__snapshots__/wait-for-other-deploy.test.ts.snap +11 -11
  63. package/examples/__snapshots__/workspace-api-www-turbo-cache.test.ts.snap +11 -11
  64. package/examples/__snapshots__/workspace-api-www.test.ts.snap +11 -11
  65. package/package.json +1 -1
  66. package/src/pipeline/createMainPipeline.ts +2 -2
  67. package/src/pipeline/gitlab/createGitlabPipeline.ts +2 -2
  68. package/src/rules/index.ts +10 -6
@@ -65,7 +65,7 @@ workflow:
65
65
  variables:
66
66
  PIPELINE_ICON: 🐱📦
67
67
  PIPELINE_NAME: Release $CI_COMMIT_TAG
68
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
68
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
71
  PIPELINE_NAME: Main - $CI_COMMIT_TITLE
@@ -116,7 +116,7 @@ before_script:
116
116
  rules:
117
117
  - when: never
118
118
  if: $CI_PIPELINE_SOURCE == "trigger"
119
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
119
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
120
120
  needs: []
121
121
  retry: &a1
122
122
  max: 2
@@ -143,7 +143,7 @@ before_script:
143
143
  rules:
144
144
  - when: never
145
145
  if: $CI_PIPELINE_SOURCE == "trigger"
146
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
146
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
147
147
  needs: []
148
148
  retry: *a1
149
149
  interruptible: true
@@ -171,7 +171,7 @@ before_script:
171
171
  rules:
172
172
  - when: never
173
173
  if: $CI_PIPELINE_SOURCE == "trigger"
174
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
174
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
175
175
  needs: []
176
176
  retry: *a1
177
177
  interruptible: true
@@ -211,7 +211,7 @@ before_script:
211
211
  rules:
212
212
  - when: never
213
213
  if: $CI_PIPELINE_SOURCE == "trigger"
214
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
214
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
215
215
  needs: []
216
216
  retry: *a1
217
217
  interruptible: true
@@ -356,7 +356,7 @@ before_script:
356
356
  - when: never
357
357
  if: $CI_PIPELINE_SOURCE == "trigger"
358
358
  - when: on_success
359
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
359
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
360
360
  needs:
361
361
  - job: 'app 👮 lint | dev '
362
362
  artifacts: false
@@ -416,7 +416,7 @@ before_script:
416
416
  - when: never
417
417
  if: $CI_PIPELINE_SOURCE == "trigger"
418
418
  - when: manual
419
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
419
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
420
420
  needs: []
421
421
  retry: *a1
422
422
  interruptible: true
@@ -468,7 +468,7 @@ before_script:
468
468
  - when: never
469
469
  if: $CI_PIPELINE_SOURCE == "trigger"
470
470
  - when: manual
471
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
471
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
472
472
  needs: []
473
473
  retry: *a1
474
474
  interruptible: true
@@ -65,7 +65,7 @@ workflow:
65
65
  variables:
66
66
  PIPELINE_ICON: 🐱📦
67
67
  PIPELINE_NAME: Release $CI_COMMIT_TAG
68
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
68
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
71
  PIPELINE_NAME: Main - $CI_COMMIT_TITLE
@@ -119,7 +119,7 @@ before_script:
119
119
  rules:
120
120
  - when: never
121
121
  if: $CI_PIPELINE_SOURCE == "trigger"
122
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
122
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
123
123
  needs: []
124
124
  retry: &a1
125
125
  max: 2
@@ -162,7 +162,7 @@ before_script:
162
162
  rules:
163
163
  - when: never
164
164
  if: $CI_PIPELINE_SOURCE == "trigger"
165
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
165
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
166
166
  needs: []
167
167
  retry: *a1
168
168
  interruptible: true
@@ -201,7 +201,7 @@ before_script:
201
201
  rules:
202
202
  - when: never
203
203
  if: $CI_PIPELINE_SOURCE == "trigger"
204
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
204
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
205
205
  needs: []
206
206
  retry: *a1
207
207
  interruptible: true
@@ -297,7 +297,7 @@ before_script:
297
297
  rules:
298
298
  - when: never
299
299
  if: $CI_PIPELINE_SOURCE == "trigger"
300
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
300
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
301
301
  needs: []
302
302
  retry: *a1
303
303
  interruptible: true
@@ -358,7 +358,7 @@ before_script:
358
358
  rules:
359
359
  - when: never
360
360
  if: $CI_PIPELINE_SOURCE == "trigger"
361
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
361
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
362
362
  needs:
363
363
  - 'app1 🔨 app | dev '
364
364
  retry: *a1
@@ -473,7 +473,7 @@ before_script:
473
473
  - when: never
474
474
  if: $CI_PIPELINE_SOURCE == "trigger"
475
475
  - when: on_success
476
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
476
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
477
477
  needs:
478
478
  - job: 'app1 👮 lint | dev '
479
479
  artifacts: false
@@ -513,7 +513,7 @@ before_script:
513
513
  - when: never
514
514
  if: $CI_PIPELINE_SOURCE == "trigger"
515
515
  - when: manual
516
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
516
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
517
517
  needs: []
518
518
  retry: *a1
519
519
  interruptible: true
@@ -1580,7 +1580,7 @@ before_script:
1580
1580
  rules:
1581
1581
  - when: never
1582
1582
  if: $CI_PIPELINE_SOURCE == "trigger"
1583
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
1583
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
1584
1584
  needs: []
1585
1585
  retry: *a1
1586
1586
  interruptible: true
@@ -1622,7 +1622,7 @@ before_script:
1622
1622
  rules:
1623
1623
  - when: never
1624
1624
  if: $CI_PIPELINE_SOURCE == "trigger"
1625
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
1625
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
1626
1626
  needs: []
1627
1627
  retry: *a1
1628
1628
  interruptible: true
@@ -1661,7 +1661,7 @@ before_script:
1661
1661
  rules:
1662
1662
  - when: never
1663
1663
  if: $CI_PIPELINE_SOURCE == "trigger"
1664
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
1664
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
1665
1665
  needs: []
1666
1666
  retry: *a1
1667
1667
  interruptible: true
@@ -1761,7 +1761,7 @@ before_script:
1761
1761
  rules:
1762
1762
  - when: never
1763
1763
  if: $CI_PIPELINE_SOURCE == "trigger"
1764
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
1764
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
1765
1765
  needs: []
1766
1766
  retry: *a1
1767
1767
  interruptible: true
@@ -1822,7 +1822,7 @@ before_script:
1822
1822
  rules:
1823
1823
  - when: never
1824
1824
  if: $CI_PIPELINE_SOURCE == "trigger"
1825
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
1825
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
1826
1826
  needs:
1827
1827
  - 'app2 🔨 app | dev '
1828
1828
  retry: *a1
@@ -1943,7 +1943,7 @@ before_script:
1943
1943
  - when: never
1944
1944
  if: $CI_PIPELINE_SOURCE == "trigger"
1945
1945
  - when: on_success
1946
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
1946
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
1947
1947
  needs:
1948
1948
  - job: 'app2 👮 lint | dev '
1949
1949
  artifacts: false
@@ -1983,7 +1983,7 @@ before_script:
1983
1983
  - when: never
1984
1984
  if: $CI_PIPELINE_SOURCE == "trigger"
1985
1985
  - when: manual
1986
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
1986
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
1987
1987
  needs: []
1988
1988
  retry: *a1
1989
1989
  interruptible: true
@@ -3080,7 +3080,7 @@ before_script:
3080
3080
  rules:
3081
3081
  - when: never
3082
3082
  if: $CI_PIPELINE_SOURCE == "trigger"
3083
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
3083
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
3084
3084
  needs: []
3085
3085
  retry: *a1
3086
3086
  interruptible: true
@@ -3122,7 +3122,7 @@ before_script:
3122
3122
  rules:
3123
3123
  - when: never
3124
3124
  if: $CI_PIPELINE_SOURCE == "trigger"
3125
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
3125
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
3126
3126
  needs: []
3127
3127
  retry: *a1
3128
3128
  interruptible: true
@@ -3161,7 +3161,7 @@ before_script:
3161
3161
  rules:
3162
3162
  - when: never
3163
3163
  if: $CI_PIPELINE_SOURCE == "trigger"
3164
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
3164
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
3165
3165
  needs: []
3166
3166
  retry: *a1
3167
3167
  interruptible: true
@@ -3253,7 +3253,7 @@ before_script:
3253
3253
  rules:
3254
3254
  - when: never
3255
3255
  if: $CI_PIPELINE_SOURCE == "trigger"
3256
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
3256
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
3257
3257
  needs: []
3258
3258
  retry: *a1
3259
3259
  interruptible: true
@@ -3314,7 +3314,7 @@ before_script:
3314
3314
  rules:
3315
3315
  - when: never
3316
3316
  if: $CI_PIPELINE_SOURCE == "trigger"
3317
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
3317
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
3318
3318
  needs:
3319
3319
  - 'app3 🔨 app | dev '
3320
3320
  retry: *a1
@@ -3442,7 +3442,7 @@ before_script:
3442
3442
  - when: never
3443
3443
  if: $CI_PIPELINE_SOURCE == "trigger"
3444
3444
  - when: on_success
3445
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
3445
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
3446
3446
  needs:
3447
3447
  - job: 'app3 👮 lint | dev '
3448
3448
  artifacts: false
@@ -3505,7 +3505,7 @@ before_script:
3505
3505
  - when: never
3506
3506
  if: $CI_PIPELINE_SOURCE == "trigger"
3507
3507
  - when: manual
3508
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
3508
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
3509
3509
  needs: []
3510
3510
  retry: *a1
3511
3511
  interruptible: true
@@ -3558,7 +3558,7 @@ before_script:
3558
3558
  - when: never
3559
3559
  if: $CI_PIPELINE_SOURCE == "trigger"
3560
3560
  - when: manual
3561
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
3561
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
3562
3562
  needs: []
3563
3563
  retry: *a1
3564
3564
  interruptible: true
@@ -65,7 +65,7 @@ workflow:
65
65
  variables:
66
66
  PIPELINE_ICON: 🐱📦
67
67
  PIPELINE_NAME: Release $CI_COMMIT_TAG
68
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
68
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
71
  PIPELINE_NAME: Main - $CI_COMMIT_TITLE
@@ -119,7 +119,7 @@ before_script:
119
119
  rules:
120
120
  - when: never
121
121
  if: $CI_PIPELINE_SOURCE == "trigger"
122
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
122
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
123
123
  needs: []
124
124
  retry: &a1
125
125
  max: 2
@@ -162,7 +162,7 @@ before_script:
162
162
  rules:
163
163
  - when: never
164
164
  if: $CI_PIPELINE_SOURCE == "trigger"
165
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
165
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
166
166
  needs: []
167
167
  retry: *a1
168
168
  interruptible: true
@@ -201,7 +201,7 @@ before_script:
201
201
  rules:
202
202
  - when: never
203
203
  if: $CI_PIPELINE_SOURCE == "trigger"
204
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
204
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
205
205
  needs: []
206
206
  retry: *a1
207
207
  interruptible: true
@@ -277,7 +277,7 @@ before_script:
277
277
  rules:
278
278
  - when: never
279
279
  if: $CI_PIPELINE_SOURCE == "trigger"
280
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
280
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
281
281
  needs: []
282
282
  retry: *a1
283
283
  interruptible: true
@@ -315,7 +315,7 @@ before_script:
315
315
  - when: never
316
316
  if: $CI_PIPELINE_SOURCE == "trigger"
317
317
  - when: on_success
318
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
318
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
319
319
  needs:
320
320
  - job: 'api 👮 lint | dev '
321
321
  artifacts: false
@@ -814,7 +814,7 @@ before_script:
814
814
  rules:
815
815
  - when: never
816
816
  if: $CI_PIPELINE_SOURCE == "trigger"
817
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
817
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
818
818
  needs: []
819
819
  retry: *a1
820
820
  interruptible: true
@@ -856,7 +856,7 @@ before_script:
856
856
  rules:
857
857
  - when: never
858
858
  if: $CI_PIPELINE_SOURCE == "trigger"
859
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
859
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
860
860
  needs: []
861
861
  retry: *a1
862
862
  interruptible: true
@@ -895,7 +895,7 @@ before_script:
895
895
  rules:
896
896
  - when: never
897
897
  if: $CI_PIPELINE_SOURCE == "trigger"
898
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
898
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
899
899
  needs: []
900
900
  retry: *a1
901
901
  interruptible: true
@@ -971,7 +971,7 @@ before_script:
971
971
  rules:
972
972
  - when: never
973
973
  if: $CI_PIPELINE_SOURCE == "trigger"
974
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
974
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
975
975
  needs: []
976
976
  retry: *a1
977
977
  interruptible: true
@@ -1009,7 +1009,7 @@ before_script:
1009
1009
  - when: never
1010
1010
  if: $CI_PIPELINE_SOURCE == "trigger"
1011
1011
  - when: on_success
1012
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
1012
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
1013
1013
  needs:
1014
1014
  - job: 'api 🚀 Deploy | dev '
1015
1015
  artifacts: false
@@ -65,7 +65,7 @@ workflow:
65
65
  variables:
66
66
  PIPELINE_ICON: 🐱📦
67
67
  PIPELINE_NAME: Release $CI_COMMIT_TAG
68
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
68
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
71
  PIPELINE_NAME: Main - $CI_COMMIT_TITLE
@@ -119,7 +119,7 @@ before_script:
119
119
  rules:
120
120
  - when: never
121
121
  if: $CI_PIPELINE_SOURCE == "trigger"
122
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
122
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
123
123
  needs: []
124
124
  retry: &a1
125
125
  max: 2
@@ -162,7 +162,7 @@ before_script:
162
162
  rules:
163
163
  - when: never
164
164
  if: $CI_PIPELINE_SOURCE == "trigger"
165
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
165
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
166
166
  needs: []
167
167
  retry: *a1
168
168
  interruptible: true
@@ -201,7 +201,7 @@ before_script:
201
201
  rules:
202
202
  - when: never
203
203
  if: $CI_PIPELINE_SOURCE == "trigger"
204
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
204
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
205
205
  needs: []
206
206
  retry: *a1
207
207
  interruptible: true
@@ -298,7 +298,7 @@ before_script:
298
298
  rules:
299
299
  - when: never
300
300
  if: $CI_PIPELINE_SOURCE == "trigger"
301
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
301
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
302
302
  needs: []
303
303
  retry: *a1
304
304
  interruptible: true
@@ -765,7 +765,7 @@ before_script:
765
765
  rules:
766
766
  - when: never
767
767
  if: $CI_PIPELINE_SOURCE == "trigger"
768
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
768
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
769
769
  needs:
770
770
  - job: '🔸 myWorkspace 🔨 app | dev '
771
771
  artifacts: true
@@ -866,7 +866,7 @@ before_script:
866
866
  - when: never
867
867
  if: $CI_PIPELINE_SOURCE == "trigger"
868
868
  - when: on_success
869
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
869
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
870
870
  needs:
871
871
  - job: '🔸 myWorkspace 👮 lint | dev '
872
872
  artifacts: false
@@ -904,7 +904,7 @@ before_script:
904
904
  - when: never
905
905
  if: $CI_PIPELINE_SOURCE == "trigger"
906
906
  - when: manual
907
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
907
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
908
908
  needs: []
909
909
  retry: *a1
910
910
  interruptible: true
@@ -1563,7 +1563,7 @@ before_script:
1563
1563
  rules:
1564
1564
  - when: never
1565
1565
  if: $CI_PIPELINE_SOURCE == "trigger"
1566
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
1566
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
1567
1567
  needs:
1568
1568
  - job: '🔸 myWorkspace 🔨 app | dev '
1569
1569
  artifacts: true
@@ -1667,7 +1667,7 @@ before_script:
1667
1667
  - when: never
1668
1668
  if: $CI_PIPELINE_SOURCE == "trigger"
1669
1669
  - when: on_success
1670
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
1670
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
1671
1671
  needs:
1672
1672
  - job: '🔸 myWorkspace 👮 lint | dev '
1673
1673
  artifacts: false
@@ -1705,7 +1705,7 @@ before_script:
1705
1705
  - when: never
1706
1706
  if: $CI_PIPELINE_SOURCE == "trigger"
1707
1707
  - when: manual
1708
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
1708
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
1709
1709
  needs: []
1710
1710
  retry: *a1
1711
1711
  interruptible: true
@@ -65,7 +65,7 @@ workflow:
65
65
  variables:
66
66
  PIPELINE_ICON: 🐱📦
67
67
  PIPELINE_NAME: Release $CI_COMMIT_TAG
68
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
68
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
71
  PIPELINE_NAME: Main - $CI_COMMIT_TITLE
@@ -119,7 +119,7 @@ before_script:
119
119
  rules:
120
120
  - when: never
121
121
  if: $CI_PIPELINE_SOURCE == "trigger"
122
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
122
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
123
123
  needs: []
124
124
  retry: &a1
125
125
  max: 2
@@ -162,7 +162,7 @@ before_script:
162
162
  rules:
163
163
  - when: never
164
164
  if: $CI_PIPELINE_SOURCE == "trigger"
165
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
165
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
166
166
  needs: []
167
167
  retry: *a1
168
168
  interruptible: true
@@ -201,7 +201,7 @@ before_script:
201
201
  rules:
202
202
  - when: never
203
203
  if: $CI_PIPELINE_SOURCE == "trigger"
204
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
204
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
205
205
  needs: []
206
206
  retry: *a1
207
207
  interruptible: true
@@ -296,7 +296,7 @@ before_script:
296
296
  rules:
297
297
  - when: never
298
298
  if: $CI_PIPELINE_SOURCE == "trigger"
299
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
299
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
300
300
  needs: []
301
301
  retry: *a1
302
302
  interruptible: true
@@ -756,7 +756,7 @@ before_script:
756
756
  rules:
757
757
  - when: never
758
758
  if: $CI_PIPELINE_SOURCE == "trigger"
759
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
759
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
760
760
  needs:
761
761
  - job: '🔸 myWorkspace 🔨 app | dev '
762
762
  artifacts: true
@@ -857,7 +857,7 @@ before_script:
857
857
  - when: never
858
858
  if: $CI_PIPELINE_SOURCE == "trigger"
859
859
  - when: on_success
860
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
860
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
861
861
  needs:
862
862
  - job: '🔸 myWorkspace 👮 lint | dev '
863
863
  artifacts: false
@@ -895,7 +895,7 @@ before_script:
895
895
  - when: never
896
896
  if: $CI_PIPELINE_SOURCE == "trigger"
897
897
  - when: manual
898
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
898
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
899
899
  needs: []
900
900
  retry: *a1
901
901
  interruptible: true
@@ -1550,7 +1550,7 @@ before_script:
1550
1550
  rules:
1551
1551
  - when: never
1552
1552
  if: $CI_PIPELINE_SOURCE == "trigger"
1553
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
1553
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
1554
1554
  needs:
1555
1555
  - job: '🔸 myWorkspace 🔨 app | dev '
1556
1556
  artifacts: true
@@ -1654,7 +1654,7 @@ before_script:
1654
1654
  - when: never
1655
1655
  if: $CI_PIPELINE_SOURCE == "trigger"
1656
1656
  - when: on_success
1657
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
1657
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
1658
1658
  needs:
1659
1659
  - job: '🔸 myWorkspace 👮 lint | dev '
1660
1660
  artifacts: false
@@ -1692,7 +1692,7 @@ before_script:
1692
1692
  - when: never
1693
1693
  if: $CI_PIPELINE_SOURCE == "trigger"
1694
1694
  - when: manual
1695
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
1695
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")
1696
1696
  needs: []
1697
1697
  retry: *a1
1698
1698
  interruptible: true
package/package.json CHANGED
@@ -53,7 +53,7 @@
53
53
  }
54
54
  ],
55
55
  "license": "MIT",
56
- "version": "4.5.0",
56
+ "version": "4.6.0",
57
57
  "scripts": {
58
58
  "build:tsc": "yarn tsc",
59
59
  "build": "yarn build:compile && yarn build:inline-variables",
@@ -1,5 +1,5 @@
1
1
  import {
2
- RULE_IS_MAIN_BRANCH_AND_NOT_RELEASE_COMMIT_PUSH,
2
+ RULE_IS_MAIN_BRANCH_AND_NOT_RELEASE_COMMIT,
3
3
  RULE_IS_MERGE_REQUEST,
4
4
  RULE_IS_TAGGED_RELEASE,
5
5
  RULE_NEVER_ON_AGENT_TRIGGER,
@@ -124,7 +124,7 @@ function getGitlabRulesForTrigger(trigger: PipelineTrigger): GitlabRule[] {
124
124
  case "mainBranch":
125
125
  return [
126
126
  RULE_NEVER_ON_AGENT_TRIGGER,
127
- RULE_IS_MAIN_BRANCH_AND_NOT_RELEASE_COMMIT_PUSH,
127
+ RULE_IS_MAIN_BRANCH_AND_NOT_RELEASE_COMMIT,
128
128
  ];
129
129
  case "mr":
130
130
  return [RULE_NEVER_ON_AGENT_TRIGGER, RULE_IS_MERGE_REQUEST];
@@ -2,7 +2,7 @@ import { getRunnerImage } from "../../runner";
2
2
  import type { Pipeline } from "../../types";
3
3
  import { globalScriptFunctions } from "../../globalScriptFunctions";
4
4
  import {
5
- RULE_IS_MAIN_BRANCH_AND_NOT_RELEASE_COMMIT_PUSH,
5
+ RULE_IS_MAIN_BRANCH_AND_NOT_RELEASE_COMMIT,
6
6
  RULE_IS_MERGE_REQUEST,
7
7
  RULE_IS_TAGGED_RELEASE,
8
8
  } from "../../rules";
@@ -59,7 +59,7 @@ export const createGitlabPipelineWithDefaults = ({
59
59
  },
60
60
  },
61
61
  {
62
- if: RULE_IS_MAIN_BRANCH_AND_NOT_RELEASE_COMMIT_PUSH.if,
62
+ if: RULE_IS_MAIN_BRANCH_AND_NOT_RELEASE_COMMIT.if,
63
63
  variables: {
64
64
  PIPELINE_ICON: "🐱🔨",
65
65
  PIPELINE_NAME: "Main - $CI_COMMIT_TITLE",
@@ -5,18 +5,22 @@ export const RULE_CONDITION_MAIN_BRANCH =
5
5
  export const RULE_CONDITION_RELEASE_COMMIT =
6
6
  "$CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/";
7
7
 
8
- export const RULE_CONDITION_NOT_RELEASE_COMMIT_PUSH =
9
- '$CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push"';
8
+ export const RULE_CONDITION_NOT_RELEASE_COMMIT =
9
+ "$CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/";
10
+
11
+ // NOT(release_commit AND push) — skip release commits on push, but allow
12
+ // manually triggered (web/API) pipelines even on release commits.
13
+ export const RULE_CONDITION_NOT_RELEASE_COMMIT_ON_PUSH =
14
+ '($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ || $CI_PIPELINE_SOURCE != "push")';
10
15
 
11
16
  export const RULE_IS_MAIN_BRANCH: GitlabRule = {
12
17
  if: RULE_CONDITION_MAIN_BRANCH,
13
18
  };
14
- export const RULE_IS_MAIN_BRANCH_AND_NOT_RELEASE_COMMIT_PUSH: GitlabRule = {
19
+ export const RULE_IS_MAIN_BRANCH_AND_NOT_RELEASE_COMMIT: GitlabRule = {
15
20
  if:
16
21
  RULE_CONDITION_MAIN_BRANCH +
17
- " && (" +
18
- RULE_CONDITION_NOT_RELEASE_COMMIT_PUSH +
19
- ")",
22
+ " && " +
23
+ RULE_CONDITION_NOT_RELEASE_COMMIT_ON_PUSH,
20
24
  };
21
25
  export const RULE_NEVER_ON_RELEASE_COMMIT: GitlabRule = {
22
26
  if: RULE_CONDITION_RELEASE_COMMIT,