Skip to content

Commit

Permalink
websocket: autobahn workflow should fail on error (#3259)
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzlopak authored May 14, 2024
1 parent c8352d7 commit 903c667
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/autobahn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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<<nEOFn" >> $GITHUB_OUTPUT
Expand All @@ -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 }}
Expand Down

0 comments on commit 903c667

Please sign in to comment.