Skip to content

Commit 0589d13

Browse files
execute build on any push or pull request from forked repo
1 parent a0ddf07 commit 0589d13

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/maven.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ jobs:
7979
build:
8080
name: fail-fast-build
8181
runs-on: ubuntu-latest
82+
# execute on any push or pull request from forked repo
83+
if: github.event_name == 'push' || ( github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork )
84+
8285
steps:
8386
- name: Checkout
8487
uses: actions/checkout@v4

0 commit comments

Comments
 (0)