Преглед изворни кода

Merge branch 'bugfix/ci_push_to_github_on_label_v3.3' into 'release/v3.3'

ci: Don't push to Github or deploy docs on customized pipelines (v3.3)

See merge request espressif/esp-idf!8939
He Yin Ling пре 5 година
родитељ
комит
4fa5f9d1a6
1 измењених фајлова са 6 додато и 3 уклоњено
  1. 6 3
      .gitlab-ci.yml

+ 6 - 3
.gitlab-ci.yml

@@ -597,9 +597,12 @@ push_to_github:
   tags:
     - deploy
   only:
-    - master
-    - /^release\/v/
-    - /^v\d+\.\d+(\.\d+)?($|-)/
+    refs:
+      - master
+      - /^release\/v/
+      - /^v\d+\.\d+(\.\d+)?($|-)/
+    variables:
+      - $BOT_TRIGGER_WITH_LABEL == null
   when: on_success
   dependencies: []
   before_script: *do_nothing_before