From 2cf7c9cdea25d66f8bc2a17ad3ef23c6d3734bbb Mon Sep 17 00:00:00 2001 From: "B. Blechschmidt" Date: Mon, 10 Apr 2023 10:34:30 +0200 Subject: [PATCH] Add label for testing pull requests in CI --- .github/workflows/tests.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3b8c34f..3e00ff3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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