瀏覽代碼

Conditionally generate badges

Nuwan Goonasekera 3 年之前
父節點
當前提交
06c789b611
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .github/workflows/integration.yaml

+ 1 - 1
.github/workflows/integration.yaml

@@ -107,7 +107,7 @@ jobs:
           CB_PLACEMENT_OS: ${{ secrets.CB_PLACEMENT_OS }}
 
       - name: Create Build Status Badge
-        if: ${{ always() }}
+        if: github.ref == 'refs/heads/master'
         uses: schneegans/dynamic-badges-action@v1.1.0
         with:
           auth: ${{ secrets.BUILD_STATUS_GIST_SECRET }}