Преглед изворни кода

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 }}