Просмотр исходного кода

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 лет назад
Родитель
Сommit
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:
 on:
   workflow_dispatch:
   workflow_dispatch:
   push:
   push:
+    branches:
+      - develop
 
 
 concurrency:
 concurrency:
   group: details-check-${{ github.ref_name }}
   group: details-check-${{ github.ref_name }}

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

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