Browse Source

Refine integration test gates

pull/253/head
ssrlive 3 weeks ago
parent
commit
369a4790df
  1. 7
      .github/workflows/tests.yml
  2. 2
      Cargo.toml

7
.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

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

Loading…
Cancel
Save