mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-06-05 06:10:15 +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]
|
types: [submitted]
|
||||||
push:
|
push:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
pull_request_target:
|
||||||
|
types: [labeled]
|
||||||
|
|
||||||
name: Integration Tests
|
name: Integration Tests
|
||||||
|
|
||||||
|
@ -10,6 +12,7 @@ jobs:
|
||||||
proxy_tests:
|
proxy_tests:
|
||||||
name: Proxy Tests
|
name: Proxy Tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'safe to test')
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue