Browse Source

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 năm trước cách đây
mục cha
commit
f600251816
2 tập tin đã thay đổi với 4 bổ sung0 xóa
  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 }}