From 9db6146cf5aaf9ccfbbdc83000a2fb9aca225ba7 Mon Sep 17 00:00:00 2001 From: Gerasimos Chourdakis Date: Tue, 12 Mar 2024 10:20:38 +0100 Subject: [PATCH] Make workflow get triggered by the trigger-system-tests label --- .github/workflows/run-tests-on-pr.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-tests-on-pr.yaml b/.github/workflows/run-tests-on-pr.yaml index fef9df91..60c64f77 100644 --- a/.github/workflows/run-tests-on-pr.yaml +++ b/.github/workflows/run-tests-on-pr.yaml @@ -1,10 +1,10 @@ on: pull_request_review: - types: [submitted] + types: [labeled] jobs: testing-approved-pr: - if: github.event.review.state == 'APPROVED' + if: ${{ github.event.label.name == 'trigger-system-tests' }} uses: precice/tutorials/.github/workflows/run_testsuite_workflow.yml@develop with: suites: openfoam_adapter_pr