浏览代码

chore: customizing triggers for builds
Now CI triggers on commit to main, or on release

Shishkevich D. 2 月之前
父节点
当前提交
384e23aeb2
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      .github/workflows/release.yml

+ 3 - 3
.github/workflows/release.yml

@@ -1,12 +1,12 @@
-name: Build and Release 3X-UI
+name: Release 3X-UI
 
 
 on:
 on:
   workflow_dispatch:
   workflow_dispatch:
   release:
   release:
     types: [published]
     types: [published]
   push:
   push:
-  pull_request:
-    types: [opened, synchronize, reopened]
+    branches:
+      - main
 
 
 jobs:
 jobs:
   build:
   build: