瀏覽代碼

Merge pull request #46936 from crazy-max/fix-dco-on-tag

ci(bin-image): fix conditional run for skipped job
Sebastiaan van Stijn 1 年之前
父節點
當前提交
2f80a91b3e
共有 2 個文件被更改,包括 1 次插入2 次删除
  1. 1 0
      .github/workflows/bin-image.yml
  2. 0 2
      .github/workflows/test.yml

+ 1 - 0
.github/workflows/bin-image.yml

@@ -82,6 +82,7 @@ jobs:
     needs:
     needs:
       - validate-dco
       - validate-dco
       - prepare
       - prepare
+    if: always() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled')
     strategy:
     strategy:
       fail-fast: false
       fail-fast: false
       matrix:
       matrix:

+ 0 - 2
.github/workflows/test.yml

@@ -10,8 +10,6 @@ on:
     branches:
     branches:
       - 'master'
       - 'master'
       - '[0-9]+.[0-9]+'
       - '[0-9]+.[0-9]+'
-    tags:
-      - 'v*'
   pull_request:
   pull_request:
 
 
 env:
 env: