From 9253b5d7d6e4870363033caf23beab38ab1fd254 Mon Sep 17 00:00:00 2001 From: Paul Klauser Date: Mon, 3 Jun 2024 11:24:29 -0400 Subject: [PATCH] Only run device test workflow if build was successful --- .github/workflows/device-tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/device-tests.yml b/.github/workflows/device-tests.yml index c5ea2f59..30db3c2e 100644 --- a/.github/workflows/device-tests.yml +++ b/.github/workflows/device-tests.yml @@ -11,6 +11,7 @@ on: jobs: device-tests: runs-on: ubuntu-20.04 + if: ${{ github.event.workflow_run.conclusion == 'success' }} steps: - uses: haya14busa/action-workflow_run-status@v1 - uses: actions/download-artifact@v4