Run release only on merge and upstrem on cron (#7951)

This commit is contained in:
Maurizio Vitale 2022-11-04 16:34:58 +00:00 committed by GitHub
parent 1299cea79d
commit 2dd0d19d03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,17 +58,15 @@ stages:
- name: Prerequisite
- name: Setup
- name: "Build"
if: tag IS blank AND type = pull_request
if: tag IS blank AND (type = pull_request OR type = cron OR type = api)
- name: "Trigger Alpha ADF child build"
if: (branch = develop AND (type = cron || type = api)) OR commit_message =~ /\[trigger adf\]/
- name: "Build Demo shell"
if: tag IS blank AND type = pull_request
if: type = cron OR (type = api AND commit_message =~ /\[trigger adf\]/)
- name: "Release"
if: type = push OR type = cron || type = api
if: type = push
- name: "Unit test Lib"
if: type = pull_request || (type = cron || type = api)
if: type = pull_request OR type = cron OR type = api
- name: "e2e Test"
if: type = pull_request || (type = cron || type = api)
if: type = pull_request OR type = cron OR type = api
- name: "Release tag"
if: branch =~ /^master(-patch.*)?$/
- name: "Check bundle"