From d0832851562603e78da9e62fcaeaba9db56d7926 Mon Sep 17 00:00:00 2001 From: Ryan Summers Date: Mon, 31 Jul 2023 11:01:08 +0200 Subject: [PATCH] Updating hitl trigger to mirror HITL result --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e686361e..6727fda3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -117,7 +117,12 @@ jobs: {"github": ${{ toJson(github) }}, "check_id": ${{steps.hitl-check.outputs.check_id}}} - uses: fountainhead/action-wait-for-check@v1.0.0 + id: status with: token: ${{ secrets.GITHUB_TOKEN }} checkName: HITL Run Status ref: ${{ github.event.pull_request.head.sha }} + + - name: "Check HITL Status" + if: steps.status.outputs.conclusion != 'success' + run: exit -1