From 34a999fb3029acf65c606bcab124ed5c0c40dd9a Mon Sep 17 00:00:00 2001 From: uzlopak Date: Tue, 14 May 2024 01:45:19 +0200 Subject: [PATCH] websocket: autobahn workflow should fail on error --- .github/workflows/autobahn.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/autobahn.yml b/.github/workflows/autobahn.yml index bbe80896fe8..1818dfa0be8 100644 --- a/.github/workflows/autobahn.yml +++ b/.github/workflows/autobahn.yml @@ -53,9 +53,11 @@ jobs: - name: Report into CI id: report-ci run: npm run test:websocket:autobahn:report + env: + FAIL_ON_ERROR: true - name: Generate Report for PR Comment - if: github.event_name == 'pull_request_target' + if: (failure() || success()) && github.event_name == 'pull_request_target' id: report-markdown run: | echo "comment<> $GITHUB_OUTPUT @@ -65,7 +67,7 @@ jobs: REPORTER: markdown - name: Comment PR - if: github.event_name == 'pull_request_target' + if: (failure() || success()) && github.event_name == 'pull_request_target' uses: thollander/actions-comment-pull-request@v2 with: message: ${{ steps.report-markdown.outputs.comment }}