Browse Source

ci: limit branches to master to avoid duplicated runs

Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
Shengqi Chen 8 tháng trước cách đây
mục cha
commit
f8d7ea1828
1 tập tin đã thay đổi với 6 bổ sung1 xóa
  1. 6 1
      .github/workflows/tunasync.yml

+ 6 - 1
.github/workflows/tunasync.yml

@@ -1,6 +1,11 @@
 name: tunasync
 
-on: [push, pull_request, workflow_dispatch]
+on:
+  push:
+    branches: [ master ]
+  pull_request:
+    branches: [ master ]
+  workflow_dispatch:
 
 jobs: