Skip to content

Commit

Permalink
Make workflow get triggered by the trigger-system-tests label
Browse files Browse the repository at this point in the history
  • Loading branch information
MakisH committed Mar 12, 2024
1 parent 1bd83d3 commit 9db6146
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run-tests-on-pr.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 9db6146

Please sign in to comment.