From fd5880183bb131576d6932aae9d3abde86ba699a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=B5=E3=81=81?= <34892635+fa0311@users.noreply.github.com> Date: Sun, 30 Jul 2023 06:47:48 +0900 Subject: [PATCH] Update test-python.yaml --- .github/workflows/test-python.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-python.yaml b/.github/workflows/test-python.yaml index 75042d5..c2a7e95 100644 --- a/.github/workflows/test-python.yaml +++ b/.github/workflows/test-python.yaml @@ -1,13 +1,15 @@ name: test-python on: - - "pull_request_target" - - "push" + pull_request_target: + types: [labeled] + jobs: build_and_preview: runs-on: ubuntu-latest name: Test - + if: contains(github.event.pull_request.labels.*.name, 'safe to test') + steps: - uses: actions/checkout@v3