Skip to content

Commit

Permalink
fix: use of pull_request because pull_request_target does not run PR …
Browse files Browse the repository at this point in the history
…branch see #264
  • Loading branch information
FanJups authored Mar 5, 2024
1 parent 77af497 commit 0afa81c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ name: Java CI with Maven
on:
push:
branches: [ main ]
pull_request_target:
types: [ opened, edited, synchronize, ready_for_review, review_requested, review_request_removed ]
pull_request:
branches: [ main ]

permissions:
contents: read

jobs:
build:

Expand Down

0 comments on commit 0afa81c

Please sign in to comment.