Skip to content

Commit 1916e53

Browse files
committed
exclude executons on commits that are already handled by PRs
1 parent 7027532 commit 1916e53

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@ name: Java CI with Maven
22

33
on:
44
push:
5+
- develop
6+
- main
57
pull_request:
68

79
jobs:
10+
if: github.event_name != 'push' || github.event.pull_request == null
811
BuildAndTest:
912
runs-on: ubuntu-latest
1013
steps:

0 commit comments

Comments
 (0)