Skip to content

Commit 059e2a9

Browse files
authored
use pull_request_target for autobahn workflow
1 parent 0f3fbf3 commit 059e2a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/autobahn.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Autobahn
22
on:
33
workflow_dispatch:
44

5-
pull_request:
5+
pull_request_target:
66
paths:
77
- '.github/workflows/autobahn.yml'
88
- 'lib/web/websocket/**'
@@ -54,7 +54,7 @@ jobs:
5454
run: npm run test:websocket:autobahn:report
5555

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

6666
- name: Comment PR
67-
if: github.event_name == 'pull_request'
67+
if: github.event_name == 'pull_request_target'
6868
uses: thollander/actions-comment-pull-request@v2
6969
with:
7070
message: ${{ steps.report-markdown.outputs.comment }}

0 commit comments

Comments
 (0)