From 369a4790dfad8c265286f35649f9f71c9a524cd0 Mon Sep 17 00:00:00 2001 From: ssrlive <30760636+ssrlive@users.noreply.github.com> Date: Thu, 14 May 2026 12:24:39 +0800 Subject: [PATCH] Refine integration test gates --- .github/workflows/tests.yml | 7 ++++--- Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 32d02f5..d8a1cb9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,7 +1,8 @@ on: - pull_request_review: - types: [submitted] push: + branches: + - '**' + tags-ignore: ['*'] workflow_dispatch: pull_request_target: types: [labeled] @@ -12,7 +13,7 @@ jobs: proxy_tests: name: Proxy Tests runs-on: ubuntu-latest - if: (github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'safe to test')) && github.actor != 'dependabot[bot]' && github.actor != 'github-actions[bot]' + if: github.actor != 'dependabot[bot]' && github.actor != 'github-actions[bot]' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request_target' && !github.event.pull_request.head.repo.fork && contains(github.event.pull_request.labels.*.name, 'safe to test'))) steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable diff --git a/Cargo.toml b/Cargo.toml index 7da0519..471ea87 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -68,7 +68,7 @@ windows-service = "0.8.0" [target.'cfg(unix)'.dependencies] daemonize = "0.5.0" -nix = { version = "0.31.2", default-features = false, features = [ +nix = { version = "0.31.3", default-features = false, features = [ "fs", "socket", "uio",