瀏覽代碼

chore: add branch filtering for workflow triggers

This commit adds branch filtering to the "Details Check" and "Update Check" workflows. Now, these workflows will only be triggered on the "develop" branch. This change ensures that the workflows are executed in a controlled environment and reduces unnecessary executions on other branches.
Daniel Gibbs 2 年之前
父節點
當前提交
f600251816
共有 2 個文件被更改,包括 4 次插入0 次删除
  1. 2 0
      .github/workflows/details-check.yml
  2. 2 0
      .github/workflows/update-check.yml

+ 2 - 0
.github/workflows/details-check.yml

@@ -3,6 +3,8 @@ name: Details Check
 on:
   workflow_dispatch:
   push:
+    branches:
+      - develop
 
 concurrency:
   group: details-check-${{ github.ref_name }}

+ 2 - 0
.github/workflows/update-check.yml

@@ -3,6 +3,8 @@ name: Update Check
 on:
   workflow_dispatch:
   push:
+    branches:
+      - develop
 
 concurrency:
   group: update-check-${{ github.ref_name }}