From 5bc0f49a7f1071497d22939aec93e7839abddc44 Mon Sep 17 00:00:00 2001 From: jstan-isch <52019536+jstan-isch@users.noreply.github.com> Date: Tue, 24 Jan 2023 10:24:52 -0600 Subject: [PATCH] Update onrush.yml --- .github/workflows/onrush.yml | 31 +++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/.github/workflows/onrush.yml b/.github/workflows/onrush.yml index 8ec397299..7a04f8bdc 100644 --- a/.github/workflows/onrush.yml +++ b/.github/workflows/onrush.yml @@ -1,16 +1,35 @@ name: pusher on: - push: - #workflow_run: - #workflows: ["Test Deploy"] - #types: - #- completed +# push: +# branches: +# - master +# paths: +# - file28.txt + workflow_run: + workflows: ["Test Deploy"] + types: + - completed jobs: on-push: runs-on: ubuntu-latest if: github.event.workflow_run.conclusion == 'success' steps: - - run: git commit --allow-empty -m "Empty commit" + - run: echo "completed" + + post-test-success: + runs-on: ubuntu-latest + steps: + - uses: haya14busa/action-workflow_run-status@v1 + - uses: actions/checkout@v2 + - run: exit 0 + + post-test-failure: + runs-on: ubuntu-latest + steps: + - uses: haya14busa/action-workflow_run-status@v1 + - uses: actions/checkout@v2 + - run: exit 1 +