This is an automated email from the ASF dual-hosted git repository.
mawiesne pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opennlp.git
The following commit(s) were added to refs/heads/main by this push:
new 41d9717d Avoid running CI twice. (#698)
41d9717d is described below
commit 41d9717d224607496217d849c78ec9a5cfb5898c
Author: Richard Zowalla <[email protected]>
AuthorDate: Thu Nov 28 16:00:18 2024 +0100
Avoid running CI twice. (#698)
Co-authored-by: Richard Zowalla <[email protected]>
---
.github/workflows/maven.yml | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index c7fc132c..e568f5d6 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -15,7 +15,14 @@
name: Java CI
-on: [push, pull_request]
+on:
+ # Run CI on Pushes to "main"" or on pull requests targeting "main".
+ push:
+ branches:
+ - main
+ pull_request:
+ branches:
+ - main
jobs:
build: