Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

websocket: autobahn workflow should fail on error #3259

Merged
merged 1 commit into from
May 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading