Skip to content

基于自定义规则的番剧采集APP,支持流媒体在线观看,支持弹幕,支持实时超分辨率。

stop workflow run when pr is draft

ErBW_seee16fdc7c34
diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml
index 9474076f..b5366bb2 100644
--- a/.github/workflows/pr.yaml
+++ b/.github/workflows/pr.yaml
@@ -3,11 +3,19 @@
on:
pull_request:
- types: [opened, synchronize, reopened]
+ types:
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ paths-ignore:
+ - 'static/**'
+ - 'README.md'
+ - '.gitignore'
workflow_dispatch:
inputs:
logLevel:
- description: 'Log level'
+ description: 'Log level'
required: true
default: 'warning'
signpath_sign:
@@ -18,8 +26,9 @@
jobs:
flutter-build-android:
+ if: github.event.pull_request.draft == false
name: "Release for android"
- runs-on: "ubuntu-latest"
+ runs-on: "ubuntu-latest"
permissions: write-all
steps:
- name: Clone repository
@@ -56,6 +65,7 @@
path: Kazumi_android_*.apk
flutter-build-windows:
+ if: github.event.pull_request.draft == false
name: "Release for windows"
runs-on: "windows-latest"
permissions: write-all
@@ -133,6 +143,7 @@
flutter-build-ios:
+ if: github.event.pull_request.draft == false
name: "Release for iOS"
runs-on: "macos-latest"
permissions: write-all
@@ -161,6 +172,7 @@
path: Kazumi_ios_*.ipa
flutter-build-macos:
+ if: github.event.pull_request.draft == false
name: "Release for Macos"
runs-on: "macos-latest"
permissions: write-all
@@ -188,6 +200,7 @@
path: Kazumi_macos_*.dmg
flutter-build-linux:
+ if: github.event.pull_request.draft == false
name: "Release for Linux"
runs-on: "ubuntu-latest"
permissions: write-all