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",