Skip to content

Commit

Permalink
use pull_request_target for autobahn workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzlopak committed May 13, 2024
1 parent 0f3fbf3 commit 059e2a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/autobahn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Autobahn
on:
workflow_dispatch:

pull_request:
pull_request_target:
paths:
- '.github/workflows/autobahn.yml'
- 'lib/web/websocket/**'
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
run: npm run test:websocket:autobahn:report

- name: Generate Report for PR Comment
if: github.event_name == 'pull_request'
if: github.event_name == 'pull_request_target'
id: report-markdown
run: |
echo "comment<<nEOFn" >> $GITHUB_OUTPUT
Expand All @@ -64,7 +64,7 @@ jobs:
REPORTER: markdown

- name: Comment PR
if: github.event_name == 'pull_request'
if: 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 059e2a9

Please sign in to comment.