Skip to content

Commit 0afa81c

Browse files
authored
fix: use of pull_request because pull_request_target does not run PR branch see #264
1 parent 77af497 commit 0afa81c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/maven.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ name: Java CI with Maven
66
on:
77
push:
88
branches: [ main ]
9-
pull_request_target:
10-
types: [ opened, edited, synchronize, ready_for_review, review_requested, review_request_removed ]
9+
pull_request:
1110
branches: [ main ]
1211

12+
permissions:
13+
contents: read
14+
1315
jobs:
1416
build:
1517

0 commit comments

Comments
 (0)