mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-04-19 13:29:09 +00:00
Add label for testing pull requests in CI
This commit is contained in:
parent
1a53e2bb52
commit
2cf7c9cdea
1 changed files with 3 additions and 0 deletions
3
.github/workflows/tests.yml
vendored
3
.github/workflows/tests.yml
vendored
|
@ -3,6 +3,8 @@ on:
|
|||
types: [submitted]
|
||||
push:
|
||||
workflow_dispatch:
|
||||
pull_request_target:
|
||||
types: [labeled]
|
||||
|
||||
name: Integration Tests
|
||||
|
||||
|
@ -10,6 +12,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')
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
|
|
Loading…
Add table
Reference in a new issue