From 2577efeb643ae909a6e5de8e9047cd753b4da282 Mon Sep 17 00:00:00 2001 From: nadinjb <90815570+nadinjb@users.noreply.github.com> Date: Tue, 1 Oct 2024 12:44:26 +0300 Subject: [PATCH] test base --- .github/workflows/run_workflow_test.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/run_workflow_test.yml b/.github/workflows/run_workflow_test.yml index c52ed99..3a0d3eb 100644 --- a/.github/workflows/run_workflow_test.yml +++ b/.github/workflows/run_workflow_test.yml @@ -4,3 +4,15 @@ on: workflow_run: workflows: [Blockifier-CI-Test] types: [completed] + +jobs: + on-success: + runs-on: ubuntu-latest + if: ${{ github.event.workflow_run.conclusion == 'success' }} + steps: + - run: echo 'The triggering workflow succeded' + on-failure: + runs-on: ubuntu-latest + if: ${{ github.event.workflow_run.conclusion == 'failure' }} + steps: + - run: echo 'The triggering workflow failed'